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
Only selects to left of cursor when selecting second & subsequent words with multi-cursor
To Reproduce
In insert mode. Click in the middle of a word
[alt+double-click] on the same word but not on the cursor: Enters visual mode, the whole word is selected, and cursor is at the right end of the word
Note: [alt+double-click] directly on the cursor: does not enter visual mode (probably because it's not initiating multi-cursor?)
Note: double-click a word to select w/out alt does NOT enter visual mode
[alt+double-click] the center of a different word: the 2nd word is selected from the cursor to the left & the 2nd cursor is at the left end of the second word
Repeat Add ex mode #3 & same thing happens for add'l words
Expected behavior
Regarding step #2 notes: This issue is not about those notes, but I noticed them and thought it worth mentioning
Regarding step #3: The entire word I double click should be selected, with the cursor at the right-hand side, just as selecting the first word did.
Screenshots
PHTML is the first word I selected
Environment (please complete the following information):
Issue Type: Bug
Extension Name: vim
Extension Version: 1.17.1
OS Version: Linux x64 5.8.13-200.fc32.x86_64
VSCode version: 1.49.3
Additional context
I first had this issue in 1.17.0. In 1.16, it remained in insert mode when double-clicking to select words. I also mentioned this problem in #5218 though... it's probably not worth reading through that issue as I've better captured the information here. From that thread, I think it's SUPPOSED to go into Visual Mode & that is an intended breaking change.
The text was updated successfully, but these errors were encountered:
Regardless of how I select the first word (drag my cursor, double click w/out holding alt, alt+double-click directly on the existing cursor), [alt+double-click]ing the second word has the same behavior as described above.
@J-Fields I'm working on this one. I know what the problem is and have already fixed it but still want to test it more to make sure no other bugs are introduced. Will make a PR soon.
berknam
added a commit
to berknam/Vim
that referenced
this issue
Oct 9, 2020
Describe the bug
Only selects to left of cursor when selecting second & subsequent words with multi-cursor
To Reproduce
Expected behavior
Regarding step #2 notes: This issue is not about those notes, but I noticed them and thought it worth mentioning
Regarding step #3: The entire word I double click should be selected, with the cursor at the right-hand side, just as selecting the first word did.
Screenshots
PHTML is the first word I selected
Environment (please complete the following information):
Bug
vim
1.17.1
Linux x64 5.8.13-200.fc32.x86_64
1.49.3
Additional context
I first had this issue in
1.17.0
. In1.16
, it remained in insert mode when double-clicking to select words. I also mentioned this problem in #5218 though... it's probably not worth reading through that issue as I've better captured the information here. From that thread, I think it's SUPPOSED to go into Visual Mode & that is an intended breaking change.The text was updated successfully, but these errors were encountered: