A simple, high performance text editor.
Go to file
Greg Pomerantz 869f0b13ac Implement initial editor mockup with StatusBar, BottomBar, window resize
Elements implemented:
- StatusBar (top bar with filename, action icons, conflict/search icons)
- BottomBar (bottom bar with cursor position, byte position, word wrap button)
- Button (interactive button element)
- AlphaIndex, SearchBar, Cursor, MergeHunk, Toast, Spacer (stubs)

Layout:
- EditorLayout function computes regions for StatusBar and BottomBar
- Filename truncation with ellipsis (mocked filename for testing)
- Mocked data: "very_long_filename...", "Ln 47, Col 12", "1024 / 50000"

Renderer:
- drawStatusBar: draws filename line + icon line
- drawBottomBar: draws cursor pos, byte pos, word wrap button
- drawButton: draws button text
- drawIconButton: draws icon buttons

Window resize:
- configChan setup in main.go
- ConfigEvent handling in event loop
- Layout recomputation on resize

Builds and runs successfully.

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2026-05-08 16:22:46 -04:00
cmd/pad Implement initial editor mockup with StatusBar, BottomBar, window resize 2026-05-08 16:22:46 -04:00
doc Re-arrange top bar icons, move byte position to bottom bar 2026-05-08 15:22:12 -04:00
internal/ui Implement initial editor mockup with StatusBar, BottomBar, window resize 2026-05-08 16:22:46 -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
pad Implement initial editor mockup with StatusBar, BottomBar, window resize 2026-05-08 16:22:46 -04:00