Merge pull request #12426 from oggy/marker-count

Delegate TextEditor.getMarkerCount to default marker layer.
This commit is contained in:
Nathan Sobo
2016-08-20 14:19:44 -05:00
committed by GitHub

View File

@@ -1971,7 +1971,7 @@ class TextEditor extends Model
#
# Returns a {Number}.
getMarkerCount: ->
@buffer.getMarkerCount()
@defaultMarkerLayer.getMarkerCount()
destroyMarker: (id) ->
@getMarker(id)?.destroy()