diff --git a/src/vs/editor/browser/editorBrowser.ts b/src/vs/editor/browser/editorBrowser.ts index f2c926f94aecd..fa8ae37f759a1 100644 --- a/src/vs/editor/browser/editorBrowser.ts +++ b/src/vs/editor/browser/editorBrowser.ts @@ -863,7 +863,8 @@ export interface ICodeEditor extends editorCommon.IEditor { /** * All decorations added through this call will get the ownerId of this editor. - * @deprecated + * @deprecated Use `createDecorationsCollection` + * @see createDecorationsCollection */ deltaDecorations(oldDecorations: string[], newDecorations: IModelDeltaDecoration[]): string[]; diff --git a/src/vs/monaco.d.ts b/src/vs/monaco.d.ts index 1a565a2c39933..7aecad30c4921 100644 --- a/src/vs/monaco.d.ts +++ b/src/vs/monaco.d.ts @@ -5612,7 +5612,8 @@ declare namespace monaco.editor { getDecorationsInRange(range: Range): IModelDecoration[] | null; /** * All decorations added through this call will get the ownerId of this editor. - * @deprecated + * @deprecated Use `createDecorationsCollection` + * @see createDecorationsCollection */ deltaDecorations(oldDecorations: string[], newDecorations: IModelDeltaDecoration[]): string[]; /**