mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
Revert "Just use the already existing change grammar event."
This reverts commit 9014634b3a.
This commit is contained in:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user