Expand description
Cocoon → Mountain window.applyTextEdits notification.
Fired when an extension calls editor.edit(editBuilder => { ... }).
Cocoon’s TextEditor shim collects the edits and sends them here.
Mountain emits sky://editor/apply-text-edits so Sky can apply them
via ICodeEditorService.listCodeEditors() → editor.executeEdits(...).
Payload shape:
{
"uri": "file:///path/to/file.ts",
"edits": [
{ "range": { "startLineNumber": 1, "startColumn": 1, "endLineNumber": 1, "endColumn": 10 }, "text": "replacement" },
{ "range": { ... }, "text": "" }
]
}