-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
検索でcountとoffsetを組み合わせた場合カウントが無視されるケースがある #645
Comments
最初のマッチとそれ以降で探索位置の条件を変更�しました。 |
@ichizok さんのパッチを試したところ意図した挙動になりました! ありがとうございます! |
両方直りました |
@ichizok さんありがとうございます! |
おつです!
|
2番目の方は再現しなかったそうです... |
oh.... 最新版にしてもう一度試してみましたがこちらでもやはり再現しました Ubuntu CUI Vim 7.4.482 |
取り込まれたようですっ! https://groups.google.com/forum/#!topic/vim_dev/PXaU7Hxty58 @ichizok さんありがとうございました! |
7.4.532 で取り込まれたということで、閉じます。 |
@ichizok ++ |
不具合としては2つあって
:set incsearch
でハイライトするターゲットがおかしくなるがあるとおもわれますが、まとめて報告させていただきます
test.txt
再現手順
vim -N -u NONE test.txt
:set incsearch
2/pattern/e
/e
を打った時点でインクリメンタルハイライトが1: pattern
の方へ移ってしまうが実行結果は正しく2:
の行のpattern
へ飛ぶ:1
(カーソル戻す)2/pattern/e3
1:
の行に移る上に、実行しても1: pattern12{3}45
(カーソル位置が3) とカウントが無視されてカーソル移動してしまう (場合がある???)なお
した場合も同様の結果になります。 また、
vim -N -u NONE
でテストすると今のところ100%再現するのですが、普段の環境だと場合によって再現しない時があるのでなにか条件があるのかもしれませんがわかりませんでした...Version
The text was updated successfully, but these errors were encountered: