Remove toggle soft wrap and toggle soft tabs

No one uses them in packages, and we don’t use them internally
This commit is contained in:
Ben Ogle
2014-07-30 15:34:32 -07:00
parent cf9208bc02
commit e54bc0fbaa

View File

@@ -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()