Skip to content
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
@RaymondLim

Description

@RaymondLim
  1. Open the index.html from default "Getting Started" project.
  2. Set the cursor in the middle of a long line. e.g. line 21.
  3. Press Alt-Shift-Down arrow to select next line. You will see a new cursor on the next line in the same column.
  4. 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.
  5. 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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions