When you mouse over line numbers in IDEs, such as Visual Studio or Notepad++, the mouse cursor is flipped horizontally. I can't think of a reason this would be a ubiquitous user interface decision. Line numbers are already set apart from the code by colors or lines, and the cursor flip doesn't prevent the obstruction of the numbers, or make setting breakpoints easier. Does anyone know why this is a common decision?


1 Answer 1


The first time I saw this behavior was with Office 95. Word, to this day, still does this.

Word 2010 with cursor change

In Word and Other applications like Notepad++, this cursor change indicates "a whole line" is the point of selection. Clicking while the cursor is in this state will select the entire line.

Selecting an entire line in Word 2010

Selecting an entire line in Notepad++

Selecting an entire line is especially useful activity in text editors like Notepad++ when the line can end beyond the right portion of the screen. Clicking and dragging in this space will select multiple lines. Changing the cursor gives the user a cue that some different action can be made. This invitation to click is non-destructive and explorable.

On a personal note, when the cursor does not change (e.g. Eclipse IDE), I'm frequently disappointed by the lack of this feature.

  • 1
    the only downside really is that it becomes annoying to click before the first char in the line with the mouse, (a small buffer zone will fix this) May 31, 2013 at 20:57
  • 1
    @ratchetfreak I agree. That "buffer zone" exists in word, but not Notepad++. It's a simple design and coding issue that would be easily fixed, but I've never lauded N++ as a high-UX project.
    – mawcsco
    May 31, 2013 at 21:01
  • 1
    Awesome answer. Note that Visual studio does this (2008-2017). Visual Studio Code does this. Apparently Notepad++ does this. Sublime doesn't though. You'll have the same behavior of entire line selection, but the cursor won't "flip". Now that i've read the answer, at least I know what to expect :)
    – Noctis
    Jun 13, 2018 at 23:25

Not the answer you're looking for? Browse other questions tagged or ask your own question.