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
Describe the bug
Starting an incremental search and then cancelling out of it via Escape (without ever hitting Enter to confirm the search pattern) leaves the screen scrolled to the first match instead of returning it to where the cursor actually is, in its original position.
To Reproduce
Create a text file that is taller than the screen and requires scrolling
Put some target search string at the end of the file and scroll to the top, so it's off screen
Start an incremental search for the target search string, but do NOT hit Enter to confirm the search pattern
Cancel out of entering the incremental search with Escape
Observe that the screen remains scrolled to the line with the search target
This applies to searches in the reverse direction as well.
Expected behavior
In gVim, this set of steps should return the scroll position to where it was before starting and then cancelling the incremental search. In VsVim, the cursor is left behind off-screen and the screen will not scroll back to it until something sets the scroll position (e.g. moving the cursor).
Environment (please complete the following information):
Visual Studio version: 2022 Version 17.2.1
VsVim version: 2.10.0.5
Programming Language: C
ReSharper: No
Visual Assist: No
The text was updated successfully, but these errors were encountered:
Describe the bug
Starting an incremental search and then cancelling out of it via
Escape
(without ever hittingEnter
to confirm the search pattern) leaves the screen scrolled to the first match instead of returning it to where the cursor actually is, in its original position.To Reproduce
Enter
to confirm the search patternEscape
This applies to searches in the reverse direction as well.
Expected behavior
In gVim, this set of steps should return the scroll position to where it was before starting and then cancelling the incremental search. In VsVim, the cursor is left behind off-screen and the screen will not scroll back to it until something sets the scroll position (e.g. moving the cursor).
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: