Protected_ReadonlyversionDocument version
ReadonlyysourceYJS file text.
Shared awareness
Document dirty state
Set the document dirty state
The dirty state to set
A signal emitted when the document is disposed.
Whether the document is disposed or not.
File text
Get the document source
The source
Document state
YJS document undo manager
YJS document.
Shared state
Whether the object can redo changes.
Whether the object can undo changes.
Clear the change stack.
Dispose of the resources.
Get the file text.
File text.
ProtectedonRedo an operation.
Set the file text.
New text
Set the value of a state attribute
Key to set
New attribute value
Perform a transaction. While the function f is called, all changes to the shared document are bundled into a single event.
Undo an operation.
Replace content from start' to endwithvalue`.
The start index of the range to replace (inclusive).
The end index of the range to replace (exclusive).
New source (optional).
StaticcreateCreates a standalone YFile
Shareable text file.