GNOME Bugzilla – Bug 763915
next/previous match moves past neighboring match
Last modified: 2016-03-20 17:30:25 UTC
When moving to next/previous match, Builder will move past neighboring match. If you have "foofoo foo" in the buffer and search for "foo", the highlight will jump from the first "foo" to the third when moving forward.
Created attachment 324335 [details] [review] fix move search
Review of attachment 324335 [details] [review]: beware that in Vim mode we use a block cursor. this mean that the real selection end one char before the visual selection so you must take this into account
Created attachment 324355 [details] [review] fix move search (add workaround for vim) Add workaround for vim. This updated patch also fixes a copy/paste typo, which causes "n" not work well with digital prefix in vim mode.
Created attachment 324356 [details] [review] fix indentation for the previous patch
Review of attachment 324356 [details] [review]: work in vim normal mode but need to be fixed on visual mode too
Created attachment 324360 [details] [review] fix move search vim visual mode still needs to be fixed.
Review of attachment 324360 [details] [review]: LGTM, we'll fix other search problems in another patch
Created attachment 324365 [details] [review] fix search movement in vim visual mode
Review of attachment 324365 [details] [review]: LGTM