diff --git a/src/editor.coffee b/src/editor.coffee index d3d7d649b..5c7633b11 100644 --- a/src/editor.coffee +++ b/src/editor.coffee @@ -2066,12 +2066,6 @@ class Editor extends Model getSelectionsOrderedByBufferPosition: -> @getSelections().sort (a, b) -> a.compare(b) - # Extended: Get the last {Selection} based on its position in the buffer. - # - # Returns a {Selection}. - getLastSelectionInBuffer: -> - _.last(@getSelectionsOrderedByBufferPosition()) - # Extended: Determine if a given range in buffer coordinates intersects a # selection. #