Skip to content

Commit

Permalink
Improve doc comment (microsoft#174438)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexdima authored and c-claeys committed Feb 16, 2023
1 parent df34a5c commit 6702019
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/vs/editor/browser/editorBrowser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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[];

Expand Down
3 changes: 2 additions & 1 deletion src/vs/monaco.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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[];
/**
Expand Down

0 comments on commit 6702019

Please sign in to comment.