Place snippet tab relative to snippet start position. Terminate when pressing 'tab' at last tab-stop.

This commit is contained in:
Nathan Sobo
2012-06-22 12:52:40 -06:00
parent 5c6e94ec74
commit c4046bbdc5
3 changed files with 37 additions and 16 deletions

View File

@@ -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)