Trevixal API
    Preparing search index...

    Interface FindReplaceResult

    What a search produced: matches, or a message explaining why there are none.

    interface FindReplaceResult {
        error: string | null;
        matches: readonly SearchMatch[];
        truncated: boolean;
    }
    Index
    error: string | null

    Set when the pattern itself was rejected (invalid regex).

    matches: readonly SearchMatch[]
    truncated: boolean

    True when the match limit stopped the scan early.