diff --git a/decorator-sample/USAGE.md b/decorator-sample/USAGE.md index bc535499..af7ad6b7 100644 --- a/decorator-sample/USAGE.md +++ b/decorator-sample/USAGE.md @@ -67,4 +67,6 @@ activeEditor.setDecorations(smallNumberDecorationType, smallNumbers); ## Tips -As a note, if you insert a new range of decorations using `editor.setDecorations` with a `TextEditorDecorationType` that has already been used, it will overwrite the previous set of decorations. \ No newline at end of file +As a note, if you insert a new range of decorations using `editor.setDecorations` with a `TextEditorDecorationType` that has already been used, it will overwrite the previous set of decorations. + +If you'd like to remove a decoration(s) of a certain decoration type then pass in an empty array to clear it from the editor. Example: `editor.setDecorations(decorationType, []);`