Add private method docs to DisplayBuffer::outermostFoldsInBufferRange

This commit is contained in:
Nathan Sobo
2014-03-06 15:31:14 -07:00
parent 6e202e18d8
commit b9b3d021cc

View File

@@ -215,6 +215,8 @@ class DisplayBuffer extends Model
largestFoldContainingBufferRow: (bufferRow) ->
@foldsContainingBufferRow(bufferRow)[0]
# Returns the folds in the given row range (exclusive of end row) that are
# not contained by any other folds.
outermostFoldsInBufferRowRange: (startRow, endRow) ->
@findFoldMarkers(containedInRange: [[startRow, 0], [endRow, 0]])
.map (marker) => @foldForMarker(marker)