You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm assigning this to myself since I implemented the original feature and so I remember to actually fix this. If someone wants to give it a go before I get around to it, just give me a heads up.
Hi, me and @micklett are working on an open source project for one of our classes and would like to take a look at this! We would hope to have a pull request in the next week.
* Fixed backward search from end of word
- Searching with 'N' after /e at the end of search fixed
- Changed comparison for next search result
- Change made in getNextSearchMatchRange in searchState.ts
* Regression test for fixed searching functionality
- Searches '/two/e' then types 'N' and checks cursor moved accordingly
Describe the bug
Apparently searching backwards using an offset doesn't seem to take in account for the current search result under the cursor.
To Reproduce
Steps to reproduce the behavior:
e
. E.g./word/e
N
Expected behavior
The cursor should go to the previous result with the cursor at the end of it
Screenshots
N/A
Environment (please complete the following information):
Additional context
Doing the same steps in vim8 will move the cursor to the end of the previous result.
The text was updated successfully, but these errors were encountered: