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:
Nathan Sobo
2017-03-02 10:45:14 -07:00
committed by Antonio Scandurra
parent 375b4a00ec
commit ed537fd61a

View File

@@ -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)