Editor: cursor-scoped Add view and reorder for composition views

This commit is contained in:
2026-06-29 11:06:56 +03:00
parent 01df58acf1
commit 4d1825b5ff
5 changed files with 445 additions and 106 deletions
+2 -2
View File
@@ -440,8 +440,8 @@ export function SpecEditor() {
// disposed below like the config actions.
const transformActionsSub = installSpecTransformActions(editor);
// " Add view" CodeLens over composition arrays — per editor, because its
// command needs this editor's handle to apply the edit.
// Cursor-aware composition CodeLens (add view above/below, reorder) — per
// editor, because its commands need this editor's handle to apply the edit.
const codeLensSub = installSpecTransformCodeLens(editor);
// Cmd/Ctrl+S is owned globally by the EventRouter (docs/architecture/04 →