Just observe the grammar.

This commit is contained in:
joshaber
2016-04-26 10:32:41 -04:00
parent 1c6d9728c4
commit 5d7c2fc8ba
4 changed files with 1 additions and 15 deletions

View File

@@ -323,9 +323,6 @@ class TextEditor extends Model
onDidChangeGrammar: (callback) ->
@emitter.on 'did-change-grammar', callback
onDidUseGrammar: (callback) ->
@displayBuffer.onDidUseGrammar(callback)
# Extended: Calls your `callback` when the result of {::isModified} changes.
#
# * `callback` {Function}