Nix unused methods

This commit is contained in:
Nathan Sobo
2012-06-13 20:12:12 -06:00
parent ede9309a80
commit 81d2e88c8a
2 changed files with 0 additions and 5 deletions

View File

@@ -66,8 +66,6 @@ class EditSession
@scrollLeft == other.getScrollLeft() and
@getCursorScreenPosition().isEqual(other.getCursorScreenPosition())
getRenderer: -> @renderer
setScrollTop: (@scrollTop) ->
getScrollTop: -> @scrollTop
@@ -111,8 +109,6 @@ class EditSession
backwardsScanInRange: (args...) ->
@buffer.backwardsScanInRange(args...)
getCurrentMode: ->
@buffer.getMode()
insertText: (text) ->
@mutateSelectedText (selection) -> selection.insertText(text)

View File

@@ -219,7 +219,6 @@ class Editor extends View
softWrapColumn ?= @calcSoftWrapColumn()
@activeEditSession.setSoftWrapColumn(softWrapColumn) if softWrapColumn
getScreenLines: -> @renderer.getLines()
linesForScreenRows: (start, end) -> @renderer.linesForRows(start, end)
screenLineCount: -> @renderer.lineCount()
maxScreenLineLength: -> @renderer.maxLineLength()