Sublime Forum

Bug - select multiple lines

#1

Hi,

I’m using Sublime Text 2.0.2 Build 2221 on Mac OS X.

When I want to select multiple lines, I drag my cursor from the end of one line to the end of another line. For example, if I want to select lines 100 to 102, I’d initiate mousedown to the right of the end of line 102, and drag to the end of line 99, such that a subsequent delete would bring line 103 right underneath line 99.

I’m seeing a fleeting bug where often times the \n on line 102 gets selected as well, and a subsequent delete would bring line 103 to the same line as line 99. This is a random bug that doesn’t always get reproduced, but it happens often enough to annoy the hell out of me.

See screenshot: WhenI tried to select 33 to 31, the end \n of line 33 gets selected as well.
http://i.imgur.com/KFrdPsR.png

Some additional clues (not sure if relevant) to my usage behavior:

  • I always use spaces in lieu of tabs
  • I maximize several SublimeText screens on different Desktop Workspaces by clicking on the top-right maximize button. So I often switch between different SublimeText screens.

Please fix.

0 Likes

#2

If you double-click in the whitespace after a line, and that line ends in punctuation, then it will select the punctuation as well as the newline. I do think that’s strange behaviour.

0 Likes