Skip to content

SetHighlightMatch

Unofficial

Parameters for setting a highlight match in the editor.

Import:

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

Signature:

export interface SetHighlightMatch

Properties

PropertyTypeDescription
endLoc?numberEnd character offset of the highlight.
focusbooleanWhether to focus the editor on the highlighted match.
line?numberLine number of the highlight.
match?unknownThe match data associated with this highlight.
startLoc?numberStart character offset of the highlight.