From 561e666091326dac619f0a924e4e7cba340dad1b Mon Sep 17 00:00:00 2001 From: Nathan Sobo Date: Sun, 21 Jul 2013 17:51:02 -0600 Subject: [PATCH] Eliminate EditSession.markersForBufferPosition We use findMarkers for everything now --- src/app/edit-session.coffee | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/app/edit-session.coffee b/src/app/edit-session.coffee index 7e9564355..1fb935b83 100644 --- a/src/app/edit-session.coffee +++ b/src/app/edit-session.coffee @@ -1244,14 +1244,6 @@ class EditSession @setSelectedBufferRange(range) range - # Given a buffer position, this finds all markers that contain the position. - # - # bufferPosition - A {Point} to check - # - # Returns an {Array} of {Numbers}, representing marker IDs containing `bufferPosition`. - markersForBufferPosition: (bufferPosition) -> - @buffer.markersForPosition(bufferPosition) - mergeCursors: -> positions = [] for cursor in @getCursors()