Theia API Documentation v1.65.0
    Preparing search index...

    A preview of the text result.

    interface TextSearchMatchPreview {
        matches: Range | Range[];
        text: string;
    }
    Index

    Properties

    Properties

    matches: Range | Range[]

    The Range within text corresponding to the text of the match. The number of matches must match the TextSearchMatch's range property.

    text: string

    The matching lines of text, or a portion of the matching line that contains the match.