mirror of
https://github.com/atom/atom.git
synced 2026-01-25 06:48:28 -05:00
Use clipDirection instead of the clip option
This commit is contained in:
@@ -392,7 +392,7 @@ class Selection extends Model
|
||||
if options.select
|
||||
@setBufferRange(newBufferRange, reversed: wasReversed)
|
||||
else
|
||||
@cursor.setBufferPosition(newBufferRange.end, clip: 'forward') if wasReversed
|
||||
@cursor.setBufferPosition(newBufferRange.end, clipDirection: 'forward') if wasReversed
|
||||
|
||||
if autoIndentFirstLine
|
||||
@editor.setIndentationForBufferRow(oldBufferRange.start.row, desiredIndentLevel)
|
||||
|
||||
Reference in New Issue
Block a user