Private Readonly_Event emitter for document content changes
Private OptionalcontentContent provider disposable
PrivatedocumentsMap of cell ID to virtual document info
ReadonlyonEvent fired when document content changes (required by TextDocumentContentProvider)
Close and remove a virtual document for a cell.
Cell identifier
Create a new virtual document for a cell.
Unique notebook identifier
Unique cell identifier
Initial cell content
Cell language (python or markdown)
Source type (notebook or lexical)
Promise that resolves to URI of the created document
Dispose of the document manager and cleanup resources.
PrivateextractExtract cell ID from vscode-notebook-cell:// URI.
Document URI
Cell ID or undefined
Get virtual document info for a cell.
Cell identifier
Virtual document or undefined
Get TextDocument for a cell (opens if not already open).
Cell identifier
Promise that resolves to TextDocument or undefined
Provide text document content (required by TextDocumentContentProvider).
Document URI
Document content or undefined if not found
Update the content of an existing virtual document.
Cell identifier
New cell content
Manages virtual TextDocuments for notebook cells using vscode-notebook-cell:// URIs. Uses VS Code's TextDocumentContentProvider to serve cell content in memory.