Skip to content

CommandEditorSuggest.openFromCommand method

CommandEditorSuggest › openFromCommand

Opens the suggest at the cursor of an editor, typically from a command's editorCallback.

Signature:

openFromCommand(params: CommandEditorSuggestOpenFromCommandParams): boolean

Parameters:

ParameterTypeDescription
paramsCommandEditorSuggestOpenFromCommandParamsThe parameters.

Returns: boolean — Whether the suggest accepted the cursor: false when text is selected.