diff --git a/src/react-editor-view.coffee b/src/react-editor-view.coffee index 4079570db..b7b6b3443 100644 --- a/src/react-editor-view.coffee +++ b/src/react-editor-view.coffee @@ -183,10 +183,6 @@ class EditorView extends View scrollToCursorPosition: -> @editor.scrollToCursorPosition() - scrollToPixelPosition: (pixelPosition) -> - screenPosition = screenPositionForPixelPosition(pixelPosition) - @editor.scrollToScreenPosition(screenPosition) - # Public: Converts a buffer position to a pixel position. # # position - An object that represents a buffer position. It can be either @@ -334,12 +330,6 @@ class EditorView extends View setShowInvisibles: (showInvisibles) -> @component.setShowInvisibles(showInvisibles) - toggleSoftWrap: -> - @editor.toggleSoftWrap() - - toggleSoftTabs: -> - @editor.toggleSoftTabs() - getText: -> @editor.getText()