Interface TokenizerOption

Options for the TextMate tokenizer.

interface TokenizerOption {
    lineLimit?: number;
}

Properties

Properties

lineLimit?: number

Maximum line length that will be handled by the TextMate tokenizer. If the length of the actual line exceeds this limit, the tokenizer terminates and the tokenization of any subsequent lines might be broken.

If the lineLimit is not defined, it means, there are no line length limits. Otherwise, it must be a positive integer or an error will be thrown.