A simple, high performance text editor.
Go to file
Greg Pomerantz c210f9a2f1 Add cut/copy/paste with persistent clipboard and filename ellipsis toggle
Cut/Copy/Paste:
- Separate icons in StatusBar at fixed positions (no reflow)
- Clipboard persisted to .pad/clipboard.json (survives process death)
- Cut: copies to clipboard, deletes from buffer, appends to undo chain
- Copy: copies to clipboard, keeps text in buffer
- Paste: inserts clipboard text at cursor, appends to undo chain
- Visibility: Cut/Copy when selection exists, Paste when clipboard non-empty

Filename ellipsis toggle:
- Filename on separate line at top of StatusBar
- Truncated with ellipsis if too long
- Tap ellipsis toggles between truncated and full multi-line view
- filename_expanded state field (not persisted)

StatusBar layout:
- Line 1: filename (truncated or full)
- Line 2: [Cut] [Copy] Ln X, Col Y [Paste] size [Conflict]
- Fixed icon slots: Cut (left), Copy (36DP from Cut), Paste (right), Conflict (rightmost)
- Region.H computed dynamically based on filename expansion

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2026-05-08 15:02:00 -04:00
cmd/pad Add Gioui scaffolding with Label and ListView rendering 2026-05-07 17:45:56 -04:00
doc Add cut/copy/paste with persistent clipboard and filename ellipsis toggle 2026-05-08 15:02:00 -04:00
internal/ui Add Gioui scaffolding with Label and ListView rendering 2026-05-07 17:45:56 -04:00
go.mod Add Gioui scaffolding with Label and ListView rendering 2026-05-07 17:45:56 -04:00
go.sum Add Gioui scaffolding with Label and ListView rendering 2026-05-07 17:45:56 -04:00