interface Folding { addFold(placeholder,
range?): Ace.Fold; addFolds(folds): void; expandFold(fold): void; expandFolds(folds): void; foldAll(startRow?,
endRow?,
depth?): void; getAllFolds(): Ace.Fold[]; getCommentFoldRange(row,
column,
dir): Ace.Range; getDisplayLine(row,
endColumn,
startRow,
startColumn): string; getFoldAt(row,
column,
side): Ace.Fold; getFoldDisplayLine(foldLine,
endRow,
endColumn,
startRow,
startColumn): string; getFoldLine(docRow,
startFoldLine?): Ace.FoldLine; getFoldRowEnd(docRow,
startFoldRow?): number; getFoldRowStart(docRow,
startFoldRow?): number; getFoldStringAt(row,
column,
trim?,
foldLine?): string; getFoldedRowCount(first,
last): number; getFoldsInRange(range): Ace.Fold[]; getFoldsInRangeList(ranges): Ace.Fold[]; getNextFoldLine(docRow,
startFoldLine?): Ace.FoldLine; getParentFoldRangeData(row,
ignoreCurrent?): { firstRange: Ace.Range; range?: Ace.Range; }; isRowFolded(docRow,
startFoldRow?): boolean; removeFold(fold): void; removeFolds(folds): void; setFoldStyle(style): void; toggleFold(tryToUnfold?): void; toggleFoldWidget(toggleParent?): void; unfold(location,
expandInner?): Ace.Fold[]; updateFoldWidgets(delta): void; } Methods
addFold
- addFold(placeholder, range?): Ace.Fold
addFolds
- addFolds(folds): void
Returns void
expandFold
- expandFold(fold): void
Returns void
expandFolds
- expandFolds(folds): void
Returns void
foldAll
- foldAll(startRow?, endRow?, depth?): void
Parameters
Optional
startRow: number
Optional
endRow: number
Optional
depth: number
Returns void
getCommentFoldRange
- getCommentFoldRange(row, column, dir): Ace.Range
Parameters
row: number
column: number
dir: number
getDisplayLine
- getDisplayLine(row, endColumn, startRow, startColumn): string
Parameters
row: number
endColumn: number
startRow: number
startColumn: number
Returns string
getFoldAt
- getFoldAt(row, column, side): Ace.Fold
Parameters
row: number
column: number
side: number
getFoldDisplayLine
- getFoldDisplayLine(foldLine, endRow, endColumn, startRow, startColumn): string
Parameters
endRow: number
endColumn: number
startRow: number
startColumn: number
Returns string
getFoldRowEnd
- getFoldRowEnd(docRow, startFoldRow?): number
Returns number
getFoldRowStart
- getFoldRowStart(docRow, startFoldRow?): number
Returns number
getFoldStringAt
- getFoldStringAt(row, column, trim?, foldLine?): string
Parameters
row: number
column: number
Optional
trim: number
Returns string
getFoldedRowCount
- getFoldedRowCount(first, last): number
Parameters
first: number
last: number
Returns number
getFoldsInRangeList
- getFoldsInRangeList(ranges): Ace.Fold[]
getParentFoldRangeData
- getParentFoldRangeData(row, ignoreCurrent?): {
firstRange: Ace.Range;
range?: Ace.Range;
} Parameters
row: number
Optional
ignoreCurrent: boolean
Returns {
firstRange: Ace.Range;
range?: Ace.Range;
}
isRowFolded
- isRowFolded(docRow, startFoldRow?): boolean
Returns boolean
removeFold
- removeFold(fold): void
Returns void
removeFolds
- removeFolds(folds): void
Returns void
setFoldStyle
- setFoldStyle(style): void
Returns void
toggleFold
- toggleFold(tryToUnfold?): void
Parameters
Optional
tryToUnfold: boolean
Returns void
toggleFoldWidget
- toggleFoldWidget(toggleParent?): void
Parameters
Optional
toggleParent: boolean
Returns void
unfold
- unfold(location, expandInner?): Ace.Fold[]
Parameters
Optional
expandInner: boolean
updateFoldWidgets
- updateFoldWidgets(delta): void
Returns void