(sigil lsp documents)
(sigil lsp documents) - In-memory document cache for LSP.
Maintains open text documents keyed by URI. Sync handlers mutate the cache on didOpen/didChange/didSave/didClose.
Exports
documentprocedureConstruct a document struct.
document?procedureTest if a value is a document struct.
document-uriprocedureGet the uri field of a document struct.
document-versionprocedureGet the version field of a document struct.
document-language-idprocedureGet the language-id field of a document struct.
document-textprocedureGet the text field of a document struct.
set-document-version!procedureSet the version field of a document struct.
set-document-language-id!procedureSet the language-id field of a document struct.
set-document-text!procedureSet the text field of a document struct.
%doc-store--typevariableSet the text field of a document struct.
doc-storeprocedureConstruct a doc-store struct.
doc-store?procedureTest if a value is a doc-store struct.
doc-store-docsprocedureGet the docs field of a doc-store struct.
set-doc-store-docs!procedureSet the docs field of a doc-store struct.
doc-store-open!variable(No description)
doc-store-update!variable(No description)
doc-store-save!variable(No description)
doc-store-close!variable(No description)
doc-store-getvariable(No description)
doc-store-urisvariable(No description)
uri->pathvariable(No description)
path->urivariable(No description)