Deprecate all TextEditor::on calls

This commit is contained in:
Kevin Sawicki
2015-03-16 14:54:49 -07:00
parent 72b7412494
commit 55a7ef352d

View File

@@ -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}.