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
When setting a selection programatically n an editor in normal mode the cursor is incorrectly positioned, which causes problems for other commands (e.g. copy).
To Reproduce
Change an editor selection programatically while in normal mode:
Describe the bug
When setting a selection programatically n an editor in normal mode the cursor is incorrectly positioned, which causes problems for other commands (e.g. copy).
To Reproduce
Change an editor selection programatically while in normal mode:
See that the cursor is at the last character
Expected behavior
Selection in normal mode places the cursor on the character before to the last.
Screenshots
![Screen Shot 2019-04-07 at 2 39 46 PM](https://user-images.githubusercontent.com/5736690/55684562-28488400-5944-11e9-9a4d-656eebe34fe9.png)
Selection in normal mode:
Selection works fine without vim extension, and in insert mode:
![Screen Shot 2019-04-07 at 2 40 36 PM](https://user-images.githubusercontent.com/5736690/55684566-31d1ec00-5944-11e9-9d63-a0b0d105bfbb.png)
Environment (please complete the following information):
Additional context
I encountered this when writing my own plugin: https://github.com/germtb/vscode-token-navigation
The text was updated successfully, but these errors were encountered: