Get the decorations count.
ReadonlyonAn 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.
Remove all previous decorations.
Get all ranges for decorations.
Determine if a decoration is in this collection.
Replace all previous decorations with newDecorations.
A collection of decorations