EditSession specs passing after converting Selection to use markers

Still a bit of a mess though...
This commit is contained in:
Nathan Sobo
2013-01-31 18:26:29 -07:00
parent 628701fd3a
commit 1bbb954239
8 changed files with 95 additions and 58 deletions

View File

@@ -51,6 +51,12 @@ class BufferMarker
getEndPosition: ->
@getRange().end
placeTail: ->
@setTailPosition(@headPosition) unless @tailPosition
clearTail: ->
@tailPosition = null
observeHeadPosition: (callback) ->
@headPositionObservers.push(callback)
cancel: =>