3 Commits
Author SHA1 Message Date
Greg Shuflin d404d8ffd9 More buffer design changes 2026-02-12 01:12:05 -08:00
Greg Shuflin 9ff2abceed Buffer design doc 2026-02-12 00:51:59 -08:00
Greg ShuflinandClaude Opus 4.5 ed6280205e Refactor to minimal EditorAction architecture for scriptability
Move cursor movement logic from EditorCore/Cursor into Configuration layer.
This prepares the codebase for a Turing-complete scripting DSL by keeping
EditorAction minimal (only absolute MoveCursor { x, y }) and having the
scripting layer compute all movement targets via BufferQuery.

- Add BufferQuery trait for read-only buffer access
- Remove CursorMovement enum, replace with MoveCursor { x, y }
- Simplify Cursor to just hold position (remove move_cursor method)
- Configuration now computes movement targets using BufferQuery

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-09 21:24:26 -08:00