Fix diagram navigation and token highlighting

This commit is contained in:
alejo committed 2026-10-07 23:09:15 -03:00
1 parent 7ed885f0d1
commit 7aa729d41e
6 files changed
+354 -63

No files matched your search

+1
View File
@@ -33,6 +33,7 @@ function addTab(o) {
t.ed = makeEditor(t);
t.ed.onInput = function () { onEdit(t); };
t.ed.onCaret = updatePos;
t.ed.onPick = function () { if (t.kind === 'input') focusDiagramAt(t); };
setEditorText(t.ed, o.text);
$('editors').appendChild(t.ed.root);
S.tabs.push(t);