Get the decorations count.
An event emitted when decorations change in the editor, but the change is not caused by us setting or clearing the collection.
Append newDecorations
to this collection.
Determine if a decoration is in this collection.
Replace all previous decorations with newDecorations
.
A collection of decorations