Module: util/setSelectionsAndFocusEditor
Functions
setSelectionsAndFocusEditor
▸ setSelectionsAndFocusEditor(editor
, selections
, revealRange?
): Promise
<void
>
Parameters
Name | Type | Default value |
---|---|---|
editor | EditableTextEditor | undefined |
selections | Selection [] | undefined |
revealRange | boolean | true |
Returns
Promise
<void
>
Defined in
util/setSelectionsAndFocusEditor.ts:5
setSelectionsWithoutFocusingEditor
▸ setSelectionsWithoutFocusingEditor(editor
, selections
): void
Parameters
Name | Type |
---|---|
editor | EditableTextEditor |
selections | Selection [] |
Returns
void
Defined in
util/setSelectionsAndFocusEditor.ts:21