mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
Add private method docs to DisplayBuffer::outermostFoldsInBufferRange
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user