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;
}

Hierarchy (view full)

Methods

  • Parameters

    • Optional startRow: number
    • Optional endRow: number
    • Optional depth: number

    Returns void

  • Parameters

    • row: number
    • endColumn: number
    • startRow: number
    • startColumn: number

    Returns string

  • Parameters

    • foldLine: Ace.FoldLine
    • endRow: number
    • endColumn: number
    • startRow: number
    • startColumn: number

    Returns string

  • Parameters

    Returns number

  • Parameters

    Returns number

  • Parameters

    • row: number
    • column: number
    • Optional trim: number
    • Optional foldLine: Ace.FoldLine

    Returns string

  • Parameters

    • first: number
    • last: number

    Returns number

  • Parameters

    Returns boolean

  • Parameters

    • style: string

    Returns void

  • Parameters

    • Optional tryToUnfold: boolean

    Returns void

  • Parameters

    • Optional toggleParent: boolean

    Returns void

Generated using TypeDoc