SetHighlightMatch
Unofficial
Parameters for setting a highlight match in the editor.
Import:
import type { SetHighlightMatch } from '@obsidian-typings/obsidian-public-latest';Signature:
export interface SetHighlightMatchProperties
| 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. |