Build S5: prose-list shortcuts — Tab/⇧Tab, ⌥ moves, visual collapse #115

Closed
opened 2026-10-15 14:08:57 +02:00 by AlexKucera · 0 comments
Owner

Part of #110

Question

Build S5: prose-list shortcuts — Tab/⇧Tab, ⌥↑/⌥↓, visual collapse in the prose editor (ADR-0010 mode B; explicitly NOT blocks-in-prose). When the caret sits in a markdown list line: Tab/⇧Tab indent/outdent the list item (with its wrapped lines), ⌥↑/⌥↓ move the item (with subtree) among siblings, and lists get visual collapse (fold marker on list items that have children; collapsed shows an ellipsis/summary line). All edits are plain text edits through the existing mode-B store — no secondary model, no per-line identity; collapse is rendering state keyed by the list's leading text position in the buffer (re-derived on edit; exact keying per build's simplest honest rule). Caret and selection ride the text edits natively; undo comes free from the text stack.

[Generated by AI]

Part of #110 ## Question **Build S5: prose-list shortcuts — Tab/⇧Tab, ⌥↑/⌥↓, visual collapse in the prose editor** (ADR-0010 mode B; explicitly NOT blocks-in-prose). When the caret sits in a markdown list line: Tab/⇧Tab indent/outdent the list item (with its wrapped lines), ⌥↑/⌥↓ move the item (with subtree) among siblings, and lists get visual collapse (fold marker on list items that have children; collapsed shows an ellipsis/summary line). All edits are plain text edits through the existing mode-B store — no secondary model, no per-line identity; collapse is rendering state keyed by the list's leading text position in the buffer (re-derived on edit; exact keying per build's simplest honest rule). Caret and selection ride the text edits natively; undo comes free from the text stack. [Generated by AI]
AlexKucera added the wayfinder:task label 2026-10-15 14:08:57 +02:00
AlexKucera self-assigned this 2026-10-19 08:56:32 +02:00
Sign in to join this conversation.