Expand description
Replace an open model’s content. Increments Version,
recomputes Lines, marks IsDirty=true. Mirrors VS Code’s
TextDocument.update(...) semantics - the Monaco model
observers see a single coherent edit, not partial state.
Errors when the URI isn’t open; callers must ModelOpen
first.