Update USAGE.md

This commit is contained in:
Brian Clark
2018-11-30 14:34:17 -05:00
committed by GitHub
parent 5fa205d0a4
commit 3e9a71ea0c

View File

@ -69,4 +69,4 @@ activeEditor.setDecorations(smallNumberDecorationType, smallNumbers);
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 type then pass in an empty array to clear it from the editor. Example: `editor.setDecorations(decorationType, []);`
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, []);`