mirror of
https://github.com/atom/atom.git
synced 2026-01-23 05:48:10 -05:00
Add TextBuffer.destroyMarker
This commit is contained in:
@@ -403,6 +403,9 @@ class TextBuffer
|
||||
getMarker: (id) ->
|
||||
@text.getMarker(id)
|
||||
|
||||
destroyMarker: (id) ->
|
||||
@getMarker(id)?.destroy()
|
||||
|
||||
# Public: Finds the first marker satisfying the given attributes
|
||||
#
|
||||
# Returns a {String} marker-identifier
|
||||
|
||||
Reference in New Issue
Block a user