From 4e8fbaef741afebd24684b88cac47c2f44dfb8eb Mon Sep 17 00:00:00 2001 From: Johannes Rieken Date: Wed, 11 Dec 2024 17:58:52 +0100 Subject: [PATCH] update doc comment (#235835) fixes https://github.com/microsoft/vscode/issues/209888 --- src/vs/editor/common/languages.ts | 3 --- src/vs/monaco.d.ts | 3 --- 2 files changed, 6 deletions(-) diff --git a/src/vs/editor/common/languages.ts b/src/vs/editor/common/languages.ts index 889a89a5d68..9d97fb451a8 100644 --- a/src/vs/editor/common/languages.ts +++ b/src/vs/editor/common/languages.ts @@ -556,9 +556,6 @@ export interface CompletionItem { /** * A range of text that should be replaced by this completion item. * - * Defaults to a range from the start of the {@link TextDocument.getWordRangeAtPosition current word} to the - * current position. - * * *Note:* The range must be a {@link Range.isSingleLine single line} and it must * {@link Range.contains contain} the position at which completion has been {@link CompletionItemProvider.provideCompletionItems requested}. */ diff --git a/src/vs/monaco.d.ts b/src/vs/monaco.d.ts index 7dddce76da2..eba21bfb561 100644 --- a/src/vs/monaco.d.ts +++ b/src/vs/monaco.d.ts @@ -7103,9 +7103,6 @@ declare namespace monaco.languages { /** * A range of text that should be replaced by this completion item. * - * Defaults to a range from the start of the {@link TextDocument.getWordRangeAtPosition current word} to the - * current position. - * * *Note:* The range must be a {@link Range.isSingleLine single line} and it must * {@link Range.contains contain} the position at which completion has been {@link CompletionItemProvider.provideCompletionItems requested}. */