mirror of
https://github.com/atom/atom.git
synced 2026-01-23 13:58:08 -05:00
Eliminate EditSession.markersForBufferPosition
We use findMarkers for everything now
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user