mirror of
https://github.com/atom/atom.git
synced 2026-01-25 06:48:28 -05:00
Delegate TextEditor.getMarkerCount to default marker layer.
This commit is contained in:
@@ -1852,7 +1852,7 @@ class TextEditor extends Model
|
||||
#
|
||||
# Returns a {Number}.
|
||||
getMarkerCount: ->
|
||||
@buffer.getMarkerCount()
|
||||
@defaultMarkerLayer.getMarkerCount()
|
||||
|
||||
destroyMarker: (id) ->
|
||||
@getMarker(id)?.destroy()
|
||||
|
||||
Reference in New Issue
Block a user