mirror of
https://github.com/atom/atom.git
synced 2026-02-16 17:45:24 -05:00
Emit decoration events synchronously in legacy spec environment
This is needed to keep a bunch of package tests passing that expect synchronous decoration updates.
This commit is contained in:
@@ -506,6 +506,9 @@ class TextEditor extends Model
|
||||
|
||||
isMini: -> @mini
|
||||
|
||||
setUpdatedSynchronously: (updatedSynchronously) ->
|
||||
@displayBuffer.setUpdatedSynchronously(updatedSynchronously)
|
||||
|
||||
onDidChangeMini: (callback) ->
|
||||
@emitter.on 'did-change-mini', callback
|
||||
|
||||
|
||||
Reference in New Issue
Block a user