mirror of
https://github.com/atom/atom.git
synced 2026-02-09 06:05:11 -05:00
Place snippet tab relative to snippet start position. Terminate when pressing 'tab' at last tab-stop.
This commit is contained in:
@@ -56,4 +56,7 @@ class Anchor
|
||||
screenPosition = @editSession.screenPositionForBufferPosition(@bufferPosition, options)
|
||||
@setScreenPosition(screenPosition, bufferChange: options.bufferChange, clip: false, assignBufferPosition: false)
|
||||
|
||||
destroy: ->
|
||||
@editSession.removeAnchor(this)
|
||||
|
||||
_.extend(Anchor.prototype, EventEmitter)
|
||||
|
||||
Reference in New Issue
Block a user