ReadonlychangedThe changed signal.
ReadonlydisposedA signal emitted when the object is disposed.
ReadonlyisText
Whether the object can undo changes.
Whether the object can redo changes.
Clear the change stack.
Dispose of the resources held by the object.
If the object's dispose method is called more than once, all
calls made after the first will be a no-op.
It is undefined behavior to use any functionality of the object after it has been disposed unless otherwise explicitly noted.
Get text.
Text.
Redo an operation.
Whether a change was made.
Set text.
New text.
Perform a transaction. While the function f is called, all changes to the shared document are bundled into a single event.
Transaction to execute
Optionalundoable: boolean
Whether to track the change in the action history or not (default true)
Optionalorigin: anyUndo an operation.
Whether a change was made.
Replace content from start to end with value.
The start index of the range to replace (inclusive).
The end index of the range to replace (exclusive).
Optionalvalue: string
New source (optional).
The ISharedText interface defines models that can be bound to a text editor like CodeMirror.