editor.range.clear
Clears the in and out marks of the canvas shown.
JSON-RPC 2.0project.write
Parameters
- canvasstringA canvas's id or name, shown first. Default: the canvas shown.
Errors
A state error (-32005) when no Editor project is open, or the open one is read-only because a newer Lightair made it.
Events
Subscribers to events get editor.changed.
From an AI agent
The MCP server's editor_canvases (action: clear_range) reaches this method.
Example
{ "jsonrpc": "2.0", "id": 1, "method": "editor.range.clear", "params": {}}lightair call editor.range.clearconst result = lightair.call("editor.range.clear", {});