mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
Expand selection linewise after triple-click (dragging or shift-click)
This commit is contained in:
@@ -134,7 +134,10 @@ class Buffer
|
||||
@lines[row].length
|
||||
|
||||
rangeForRow: (row) ->
|
||||
new Range([row, 0], [row, @lineLengthForRow(row)])
|
||||
if row == @getLastRow()
|
||||
new Range([row, 0], [row, @lineLengthForRow(row)])
|
||||
else
|
||||
new Range([row, 0], [row + 1, 0])
|
||||
|
||||
getLineCount: ->
|
||||
@getLines().length
|
||||
|
||||
Reference in New Issue
Block a user