interface SyntaxMode {
    $behaviour?: Behaviour;
    $defaultBehaviour?: Behaviour;
    HighlightRules: (new () => HighlightRules);
    foldingRules?: FoldMode;
    lineCommentStart?: string;
    transformAction: BehaviorAction;
    autoOutdent(state, doc, row): void;
    checkOutdent(state, line, input): boolean;
    createModeDelegates(mapping): void;
    createWorker(session): any;
    getCompletions(state, session, pos, prefix): Ace.Completion[];
    getKeywords(append?): (string | RegExp)[];
    getNextLineIndent(state, line, tab): string;
    getTokenizer(): Ace.Tokenizer;
    toggleBlockComment(state, session, range, cursor): void;
    toggleCommentLines(state, session, startRow, endRow): void;
}

Properties

$behaviour?: Behaviour
$defaultBehaviour?: Behaviour
HighlightRules: (new () => HighlightRules)

Type declaration

foldingRules?: FoldMode
lineCommentStart?: string
transformAction: BehaviorAction

Methods

  • Parameters

    Returns void

  • Parameters

    • state: any
    • line: string
    • input: string

    Returns boolean

  • Parameters

    • mapping: {
          [key: string]: string;
      }
      • [key: string]: string

    Returns void

  • Parameters

    • Optional append: boolean

    Returns (string | RegExp)[]

  • Parameters

    • state: any
    • line: string
    • tab: string

    Returns string

  • Parameters

    Returns void

Generated using TypeDoc