mirror of
https://github.com/atom/atom.git
synced 2026-01-24 06:18:03 -05:00
Nix unused methods
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user