A content change event for a document.
When range is None, text is the full content of the document. When range is Some, text replaces the given range.
range
None
text
Some
Optional
The range of the document that changed. If None, the entire content is replaced.
The new text for the range, or the full document content if range is None.
A content change event for a document.
When
rangeisNone,textis the full content of the document. WhenrangeisSome,textreplaces the given range.