mirror of
https://github.com/atom/atom.git
synced 2026-01-24 22:38:20 -05:00
Deprecate all TextEditor::on calls
This commit is contained in:
@@ -512,6 +512,9 @@ class TextEditor extends Model
|
||||
when 'scroll-left-changed'
|
||||
deprecate("Use TextEditor::onDidChangeScrollLeft instead")
|
||||
|
||||
else
|
||||
deprecate("TextEditor::on is deprecated. Use documented event subscription methods instead.")
|
||||
|
||||
EmitterMixin::on.apply(this, arguments)
|
||||
|
||||
# Retrieves the current {TextBuffer}.
|
||||
|
||||
Reference in New Issue
Block a user