mirror of
https://github.com/atom/atom.git
synced 2026-02-12 23:55:10 -05:00
Just use the already existing change grammar event.
This commit is contained in:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user