Skip to content

SetHighlightMatch

Unofficial

Parameters for setting a highlight match in the editor.

Import:

import type { SetHighlightMatch } from '@obsidian-typings/obsidian-catalyst-latest';

Signature:

export interface SetHighlightMatch

Properties

Property Type Description
endLoc? number End character offset of the highlight.
focus boolean Whether to focus the editor on the highlighted match.
line? number Line number of the highlight.
match? unknown The match data associated with this highlight.
startLoc? number Start character offset of the highlight.