mirror of
https://github.com/atom/atom.git
synced 2026-01-23 22:08:08 -05:00
Emit markers-updated event for remote buffer changes
This is temporary until markers are a part of telepath.
This commit is contained in:
committed by
Kevin Sawicki
parent
bffe361151
commit
5a26fa838f
@@ -79,6 +79,8 @@ class TextBuffer
|
||||
marker.handleBufferChange(event) for marker in @getMarkers()
|
||||
@trigger 'changed', event
|
||||
@scheduleModifiedEvents()
|
||||
if @state.site.id isnt event.site
|
||||
@trigger 'markers-updated'
|
||||
|
||||
destroy: ->
|
||||
unless @destroyed
|
||||
|
||||
Reference in New Issue
Block a user