interface Document {
    addEventListener(name, callback, capturing?): void;
    applyDelta(delta, doNotValidate?): void;
    applyDeltas(deltas): void;
    clippedPos(row, column): Ace.Point;
    clonePos(pos): Ace.Point;
    createAnchor(row, column): Ace.Anchor;
    getAllLines(): string[];
    getLength(): number;
    getLine(row): string;
    getLines(firstRow, lastRow): string[];
    getLinesForRange(range): string[];
    getNewLineCharacter(): string;
    getNewLineMode(): Ace.NewLineMode;
    getTextRange(range): string;
    getValue(): string;
    indexToPosition(index, startRow): Ace.Position;
    insert(position, text): Ace.Position;
    insert(position, text): Ace.Position;
    insertFullLines(row, lines): void;
    insertInLine(position, text): Ace.Position;
    insertMergedLines(position, lines): Ace.Point;
    insertNewLine(position): Ace.Point;
    isNewLine(text): boolean;
    off(name, callback): void;
    on(name, callback, capturing?): void;
    once(name, callback): void;
    pos(row, column): Ace.Point;
    positionToIndex(pos, startRow?): number;
    remove(range): Ace.Position;
    removeAllListeners(name?): void;
    removeDefaultHandler(name, callback): void;
    removeEventListener(name, callback): void;
    removeFullLines(firstRow, lastRow): string[];
    removeInLine(row, startColumn, endColumn): Ace.Position;
    removeListener(name, callback): void;
    removeNewLine(row): void;
    replace(range, text): Ace.Position;
    revertDelta(delta): void;
    revertDeltas(deltas): void;
    setDefaultHandler(name, callback): void;
    setNewLineMode(newLineMode): void;
    setValue(text): void;
}

Hierarchy (view full)

Methods

  • Parameters

    • delta: Ace.Delta
    • Optional doNotValidate: boolean

    Returns void

  • Returns string[]

  • Returns number

  • Parameters

    • row: number

    Returns string

  • Parameters

    • firstRow: number
    • lastRow: number

    Returns string[]

  • Parameters

    Returns string[]

  • Returns string

  • Parameters

    • row: number
    • lines: string[]

    Returns void

  • Parameters

    • text: string

    Returns boolean

  • Parameters

    • name: string
    • callback: Function
    • Optional capturing: boolean

    Returns void

  • Parameters

    Returns number

  • Parameters

    • firstRow: number
    • lastRow: number

    Returns string[]

  • Parameters

    • row: number

    Returns void

  • Parameters

    • text: string

    Returns void

Generated using TypeDoc