mirror of
https://github.com/atom/atom.git
synced 2026-02-11 07:05:11 -05:00
Drop suppressLayerUpdateEvent flag
We now emit marker layer update events synchronously at the end of transactions, so this isn't needed or supported by text-buffer.
This commit is contained in:
committed by
Antonio Scandurra
parent
375b4a00ec
commit
ed537fd61a
@@ -210,7 +210,7 @@ class TextEditor extends Model
|
||||
if @cursors.length is 0 and not suppressCursorCreation
|
||||
initialLine = Math.max(parseInt(initialLine) or 0, 0)
|
||||
initialColumn = Math.max(parseInt(initialColumn) or 0, 0)
|
||||
@addCursorAtBufferPosition([initialLine, initialColumn], {suppressLayerUpdateEvent: true})
|
||||
@addCursorAtBufferPosition([initialLine, initialColumn])
|
||||
|
||||
@languageMode = new LanguageMode(this)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user