Select line by clicking line-number in edit mode

Use case or problem

Most standard text-editors provide the standard functionality of selecting a line of text when the user clicks on a line number — to the point where this is basic expected functionality of the line numbers beyond mere representational display.

Proposed solution

In edit mode, when line numbers are displayed, the default behavior (perhaps with an option to turn this off for anyone who doesn‘t like it for some idiosyncratic reason) should be for clicking the line-number to select that entire line of text.

Current workaround (optional)

manually selecting the entire line

6 Likes

I concur!

1 Like

Ideally, clicking on one line-number to select the contents of that line and then SHIFT-clicking a line-number below that should also select the contents of the first line clicked and the second line clicked as well as all lines in between.

I was just notified that selecting an entire line including the line break using a 4-click (3-click selects without the line break and thus leaves behind an empty line when removing/cutting). Might at least be a quicker workaround.

1 Like

+1 on this!