Reduce observation to single observeMarker method on display buffer

It will call the observer callbacks with the buffer and screen positions
of the head and tell each time any of these values is changed.
This commit is contained in:
Nathan Sobo
2013-02-04 21:24:06 -07:00
parent 58450d6a65
commit afe0a6570a
7 changed files with 167 additions and 142 deletions

View File

@@ -489,8 +489,8 @@ class EditSession
setMarkerTailBufferPosition: (args...) ->
@displayBuffer.setMarkerTailBufferPosition(args...)
observeMarkerHeadPosition: (args...) ->
@displayBuffer.observeMarkerHeadPosition(args...)
observeMarker: (args...) ->
@displayBuffer.observeMarker(args...)
placeMarkerTail: (args...) ->
@displayBuffer.placeMarkerTail(args...)