Skip to content

Commit 601452b

Browse files
committed
polish comment
1 parent 5e021a4 commit 601452b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/vs/vscode.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -946,12 +946,12 @@ declare module 'vscode' {
946946
* or accept the snippet.
947947
*
948948
* @param snippet The snippet to insert in this edit.
949-
* @param location Ranges or position at which to insert the snippet, defaults to the current editor selection.
949+
* @param location Position or range at which to insert the snippet, defaults to the current editor selection or selections.
950950
* @param options The undo/redo behaviour around this edit. By default, undo stops will be created before and after this edit.
951951
* @return A promise that resolves with a value indicating if the snippet could be inserted. Note that the promise does not signal
952952
* that the snippet is completely filled-in or accepted.
953953
*/
954-
insertSnippet(snippet: SnippetString, location?: Position | Position[] | Range | Range[], options?: { undoStopBefore: boolean; undoStopAfter: boolean; }): Thenable<boolean>;
954+
insertSnippet(snippet: SnippetString, location?: Position | Range | Position[] | Range[], options?: { undoStopBefore: boolean; undoStopAfter: boolean; }): Thenable<boolean>;
955955

956956
/**
957957
* Adds a set of decorations to the text editor. If a set of decorations already exists with

0 commit comments

Comments
 (0)