mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-09-22 08:28:41 +03:00
Space separate event names
This commit is contained in:
parent
228fa1abe5
commit
e50aa56d02
@ -28,12 +28,8 @@ class TokenizedBuffer
|
|||||||
@id = @constructor.idCounter++
|
@id = @constructor.idCounter++
|
||||||
@resetScreenLines()
|
@resetScreenLines()
|
||||||
@buffer.on "changed.tokenized-buffer#{@id}", (e) => @handleBufferChange(e)
|
@buffer.on "changed.tokenized-buffer#{@id}", (e) => @handleBufferChange(e)
|
||||||
@languageMode.on 'grammar-changed', => @resetScreenLines()
|
@languageMode.on 'grammar-changed grammar-updated', => @resetScreenLines()
|
||||||
@languageMode.on 'grammar-updated', => @resetScreenLines()
|
@subscribe syntax, 'grammar-updated grammar-added', (grammar) =>
|
||||||
@subscribe syntax, 'grammar-updated', (grammar) =>
|
|
||||||
if grammar.injectionSelector? and @hasTokenForSelector(grammar.injectionSelector)
|
|
||||||
@resetScreenLines()
|
|
||||||
@subscribe syntax, 'grammar-added', (grammar) =>
|
|
||||||
if grammar.injectionSelector? and @hasTokenForSelector(grammar.injectionSelector)
|
if grammar.injectionSelector? and @hasTokenForSelector(grammar.injectionSelector)
|
||||||
@resetScreenLines()
|
@resetScreenLines()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user