Add TextBuffer.destroyMarker

This commit is contained in:
Nathan Sobo
2013-07-21 17:14:16 -06:00
parent 50ade54c3c
commit 28a0bdaf95

View File

@@ -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