mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
Ensure new non-empty selections have an invisible cursor.
This commit is contained in:
@@ -27,6 +27,9 @@ class BufferMarker
|
||||
isReversed: ->
|
||||
@tailPosition? and @headPosition.isLessThan(@tailPosition)
|
||||
|
||||
hasTail: ->
|
||||
@tailPosition?
|
||||
|
||||
getRange: ->
|
||||
if @tailPosition
|
||||
new Range(@tailPosition, @headPosition)
|
||||
|
||||
Reference in New Issue
Block a user