Atoms: text an app marks is one unit, and Replace (ATC-191) #2
Loading…
Reference in a new issue
No description provided.
Delete branch "atc-191-atoms"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Work package: ATC-191, objects picked from at-claude's menu.
Added
SetAtoms(pattern): every stretch of the message the pattern matches is one unit. The cursor steps over it and never stops inside it, Backspace and Delete take it whole, a word or line deletion that would cut into it takes all of it, it wraps to a row of its own unless wider than a row, andStyles.Atomdraws it (unset, it draws as the message).Replace(line, start, end, text): text in place of part of a line as one undoable change, the cursor after it.Left alone: with no pattern set, nothing changes, so gvoice-tui is unaffected. Atoms are plain text in the message, so
Value,SetValue, pastes, undo and drafts carry them with no extra state.🤖 Generated with Claude Code