Make DisplayBuffer.getMarkers call down into TextBuffer.getMarkers

This commit is contained in:
Nathan Sobo
2013-07-17 15:00:15 -07:00
parent 96f434f276
commit ab8c0bbf04

View File

@@ -403,7 +403,7 @@ class DisplayBuffer
#
# Returns an {Array} of existing {DisplayBufferMarker}s.
getMarkers: ->
_.values(@markers)
@buffer.getMarkers().map ({id}) => @getMarker(id)
# Constructs a new marker at the given screen range.
#