Revert "Just use the already existing change grammar event."

This reverts commit 9014634b3a.
This commit is contained in:
joshaber
2016-04-25 15:15:31 -04:00
parent 9014634b3a
commit 2266f1e3b6
4 changed files with 11 additions and 1 deletions

View File

@@ -323,6 +323,9 @@ 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}