mirror of
https://github.com/atom/atom.git
synced 2026-02-14 16:45:14 -05:00
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:
@@ -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...)
|
||||
|
||||
Reference in New Issue
Block a user