mirror of
https://github.com/atom/atom.git
synced 2026-02-16 17:45:24 -05:00
Document TextBuffer.getMarker[s]
This commit is contained in:
@@ -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]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user