mirror of
https://github.com/atom/atom.git
synced 2026-02-09 06:05:11 -05:00
If the user attempts to switch tab stops while the cursor is not *on* a tab stop, the snippet is terminated
This commit is contained in:
@@ -16,6 +16,9 @@ class AnchorRange
|
||||
getScreenRange: ->
|
||||
new Range(@startAnchor.getScreenPosition(), @endAnchor.getScreenPosition())
|
||||
|
||||
containsBufferPosition: (bufferPosition) ->
|
||||
@getBufferRange().containsPoint(bufferPosition)
|
||||
|
||||
destroy: ->
|
||||
@startAnchor.destroy()
|
||||
@endAnchor.destroy()
|
||||
|
||||
Reference in New Issue
Block a user