Document TextBuffer.getMarker[s]

This commit is contained in:
Nathan Sobo
2013-04-30 05:12:43 -06:00
parent 7ca8e31087
commit 7d676f51bd

View File

@@ -424,9 +424,11 @@ class Buffer
# Returns a {Boolean}.
isEmpty: -> @lines.length is 1 and @lines[0].length is 0
# Returns all valid {BufferMarker}s on the buffer.
getMarkers: ->
_.values(@validMarkers)
# Returns the {BufferMarker} with the given id.
getMarker: (id) ->
@validMarkers[id]