Expand description
Snapshot a single open text model. Returns
{ uri, content, version, languageId } or null when the
URI isn’t currently open. content is rejoined from
Lines using the document’s EOL so the wire shape matches
VS Code’s TextDocument.getText().