pyqt_reactive.services.window_code_document
Generic code-document capability for WindowManager-managed windows.
Classes
|
Rendered code document owned by one managed window. |
Read/apply code-mode content for one WindowManager scope. |
Exceptions
Raised when a managed window cannot service a code-document request. |
- exception pyqt_reactive.services.window_code_document.WindowCodeDocumentError[source]
Raised when a managed window cannot service a code-document request.
- class pyqt_reactive.services.window_code_document.WindowCodeDocument(title: str, source: str, mime_type: str = 'text/x-python')[source]
Rendered code document owned by one managed window.
- class pyqt_reactive.services.window_code_document.WindowCodeDocumentDriver[source]
Read/apply code-mode content for one WindowManager scope.
- current_revision_token() str | None[source]
Return a document-local revision token when ObjectState is not authoritative.
- records_object_state_snapshot_on_apply() bool[source]
Return whether applying this document must advance ObjectState history.
- abstractmethod read_document(clean: bool = True) WindowCodeDocument[source]
Return the current code document.