Skip to content

EditorSuggestContext

Defined in: suggest.ts:501

editor: Editor

Defined in: suggest.ts:503


end: EditorPosition

Defined in: suggest.ts:523

The end position of the triggering text. This is used to position the popover.

EditorSuggestTriggerInfo.end


file: TFile

Defined in: suggest.ts:505


query: string

Defined in: suggest.ts:530

They query string (usually the text between start and end) that will be used to generate the suggestion content.

EditorSuggestTriggerInfo.query


start: EditorPosition

Defined in: suggest.ts:516

The start position of the triggering text. This is used to position the popover.

EditorSuggestTriggerInfo.start