Add deprecated method to TextEditor

This commit is contained in:
Antonio Scandurra
2015-10-20 08:37:15 +02:00
parent 40e3b08a8c
commit 5fc521fedc

View File

@@ -3103,6 +3103,11 @@ class TextEditor extends Model
@viewRegistry.getView(this).getScrollWidth()
getMaxScrollTop: ->
Grim.deprecate("This is now a view method. Call TextEditorElement::getMaxScrollTop instead.")
@viewRegistry.getView(this).getMaxScrollTop()
getVisibleRowRange: ->
Grim.deprecate("This is now a view method. Call TextEditorElement::getVisibleRowRange instead.")