mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
Add deprecated method to TextEditor
This commit is contained in:
@@ -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.")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user