Pad/internal/editor
Greg Pomerantz bef3929f40 fix: update tests and fix SetCursorFromPoint panic
- Rewrite cursor_test.go to use the current GlyphLayout-based API
  instead of the deleted byteOffsetToLineCol function
- Add guard for empty/missing layout slices in SetCursorFromPoint
  to prevent index-out-of-range panic on empty documents
- Add missing Advance field to e2e test GlyphLayout initialization
- Add cmd/pad/pad binary to .gitignore
2026-06-04 07:24:44 -04:00
..
buffer_test.go fix(editor): wire key events to cursor movement 2026-06-03 07:41:18 -04:00
cursor_test.go fix: update tests and fix SetCursorFromPoint panic 2026-06-04 07:24:44 -04:00
integration_test.go fix(editor): wire key events to cursor movement 2026-06-03 07:41:18 -04:00
logic.go Compute glyphLayout after text rendering. Implement correct cursor 2026-06-03 19:01:05 -04:00
mock_setup.go fix: integrate browser-to-editor file loading and remove sample text 2026-06-02 09:33:12 -04:00
state.go fix: update tests and fix SetCursorFromPoint panic 2026-06-04 07:24:44 -04:00