mirror of
https://github.com/atom/atom.git
synced 2026-02-19 02:44:29 -05:00
Upgrade telepath to allow marker attributes to be updated
This commit is contained in:
@@ -12,13 +12,13 @@ module.exports =
|
||||
event.id = nextOutputEventId++
|
||||
console.log 'sending event', event.id, event
|
||||
connection.send(event)
|
||||
doc.on('output', outputListener)
|
||||
doc.on('replicate-change', outputListener)
|
||||
|
||||
queuedEvents = []
|
||||
nextInputEventId = 1
|
||||
handleInputEvent = (event) ->
|
||||
console.log 'received event', event.id, event
|
||||
doc.handleInputEvent(event)
|
||||
doc.applyRemoteChange(event)
|
||||
nextInputEventId = event.id + 1
|
||||
flushQueuedEvents = ->
|
||||
loop
|
||||
|
||||
Reference in New Issue
Block a user