Ace API Reference
    Preparing search index...
    Index

    Constructors

    Properties

    $brackets: {
        "(": string;
        ")": string;
        "[": string;
        "]": string;
        "{": string;
        "}": string;
        "<": string;
        ">": string;
    }
    $findClosingBracket: (
        ...this: any,
        bracket: string,
        position: Ace.Point,
        typeRe?: RegExp,
    ) => Ace.Point

    Type declaration

      • (...this: any, bracket: string, position: Ace.Point, typeRe?: RegExp): Ace.Point
      • Parameters

        • ...this: any
        • bracket: string
        • position: Ace.Point
        • OptionaltypeRe: RegExp

        Returns Ace.Point

    $findClosingTag: (
        iterator: any,
        token: any,
    ) => {
        closeTag: Range;
        closeTagName: Range;
        openTag: Range;
        openTagName: Range;
    }
    $findOpeningBracket: (
        ...this: any,
        bracket: string,
        position: Ace.Point,
        typeRe?: RegExp,
    ) => Ace.Point

    Type declaration

      • (...this: any, bracket: string, position: Ace.Point, typeRe?: RegExp): Ace.Point
      • Parameters

        • ...this: any
        • bracket: string
        • position: Ace.Point
        • OptionaltypeRe: RegExp

        Returns Ace.Point

    $findOpeningTag: (
        iterator: any,
        token: any,
    ) => {
        closeTag: Range;
        closeTagName: Range;
        openTag: Range;
        openTagName: Range;
    }
    $findTagName: (iterator: any) => any
    findMatchingBracket: (
        ...this: any,
        position: Ace.Point,
        chr?: string,
    ) => Ace.Point
    getBracketRange: (...this: any, pos: Ace.Point) => Range

    Type declaration

      • (...this: any, pos: Ace.Point): Range
      • Parameters

        Returns Range

    getMatchingBracketRanges: (
        ...this: any,
        pos: Ace.Point,
        isBackwards?: boolean,
    ) => Range[]

    Returns:

    • null if there is no any bracket at pos;
    • two Ranges if there is opening and closing brackets;
    • one Range if there is only one bracket

    Type declaration

      • (...this: any, pos: Ace.Point, isBackwards?: boolean): Range[]
      • Parameters

        • ...this: any
        • pos: Ace.Point
        • OptionalisBackwards: boolean

        Returns Range[]

    getMatchingTags: (
        ...this: any,
        pos: Ace.Point,
    ) => {
        closeTag: Range;
        closeTagName: Range;
        openTag: Range;
        openTagName: Range;
    }

    Returns [[Range]]'s for matching tags and tag names, if there are any

    Type declaration

      • (
            ...this: any,
            pos: Ace.Point,
        ): {
            closeTag: Range;
            closeTagName: Range;
            openTag: Range;
            openTagName: Range;
        }
      • Parameters

        Returns { closeTag: Range; closeTagName: Range; openTag: Range; openTagName: Range }