interface SearchInWorkspaceResultLineNode {
    character: number;
    fileUri: string;
    length: number;
    line: number;
    lineText: string | LinePreview;
    matches: SearchMatch[];
    parent: SearchInWorkspaceFileNode;
    root: string;
}

Hierarchy (view full)

Properties

character: number

The (1-based) character number in the result line. For UTF-8 files, one multi-byte character counts as one character.

fileUri: string

The string uri to the file containing the result.

length: number

The length of the match, in characters. For UTF-8 files, one multi-byte character counts as one character.

line: number

The (1-based) line number of the result.

lineText: string | LinePreview

The text of the line containing the result.

matches: SearchMatch[]

matches found in the file

root: string

The string uri to the root folder that the search was performed.