This repository was archived by the owner on Sep 6, 2021. It is now read-only.
This repository was archived by the owner on Sep 6, 2021. It is now read-only.
[cmv4] Add Previous/Next Line to Selection may add an extra cursor if you switch direction with the two shortcuts. #7100
Open
Description
- Open the index.html from default "Getting Started" project.
- Set the cursor in the middle of a long line. e.g. line 21.
- Press Alt-Shift-Down arrow to select next line. You will see a new cursor on the next line in the same column.
- Press Alt-Shift-Up arrow to select prev line. You will see a new cursor on the previous line after
<p>
tag since the line is shorter. - Press Alt-Shift-Down arrow to select next line.
Result: You will see two new cursors -- one on line 23 in the same column as the first cursor you set in step 2 and another one on line 21 in the same column as the cursor on line 20.
Expected: Should not add another cursor if the line is already in the selection.