Commit Graph
29 Commits
Author SHA1 Message Date
temportalflux 32cca07bb4 add an extremely basic example for editable_text which only shows a subset of what is documented in the module 2026-07-11 13:00:54 -04:00
temportalflux d5b3191738 add simpler api for configuring the caret blink interval via element 2026-07-11 09:31:07 -04:00
temportalflux d6d35ab410 add external api for access to caret by routing it through keyed element data 2026-07-11 09:31:07 -04:00
temportalflux 8f99657171 fixup typos 2026-07-11 09:31:07 -04:00
temportalflux 2cc4f237d6 rework element api to expose EditableTextState as a viable entity for users to create via use_keyed_state 2026-07-11 09:31:07 -04:00
temportalflux 44e65e544f rework focus handle semantics to only use Window::set_focus_handle during prepaint instead of requiring changes to Interactivity 2026-07-11 09:31:07 -04:00
temportalflux 812d5aa91a add on_text_changed callback binding to allow the caller to be notified on every change to the text 2026-07-11 09:31:07 -04:00
temportalflux 6beeecb5a8 add module-level documentation with examples 2026-07-11 09:31:07 -04:00
temportalflux 579b8d06f1 collapse UnicodeTextStorage api to only expose methods operating on the direction/boundary enums 2026-07-11 09:31:07 -04:00
temportalflux 18c80084d2 fill out more documentation 2026-07-11 09:31:07 -04:00
temportalflux 0b47bd71e7 add some documentation 2026-07-11 09:31:07 -04:00
temportalflux 717f465001 reorganize editable text implementation for maintainability 2026-07-11 09:31:07 -04:00
temportalflux f3e9ae3c56 add caret blinking which is handled via a separate entity 2026-07-11 09:31:07 -04:00
temportalflux 962f89c4a2 add color mutators on element 2026-07-11 09:31:07 -04:00
temportalflux 126db6dbbe scroll the area when the caret moves out of view 2026-07-11 09:31:07 -04:00
temportalflux 0ae4c8f146 port over tests from previous iteration 2026-07-11 09:31:07 -04:00
temportalflux 246bc3e6e4 implement undo/redo history tracking 2026-07-11 09:31:07 -04:00
temportalflux dd61395440 add accepts_input flag as a way to track an input field's disabled state 2026-07-11 09:31:07 -04:00
temportalflux b5acea4809 merge element and state implementations back to a single type 2026-07-11 09:31:07 -04:00
temportalflux 76a02bbc46 add default-value via init-storage 2026-07-11 09:31:07 -04:00
temportalflux c1d3deb170 rename editable text module structs for consistency 2026-07-11 09:31:07 -04:00
temportalflux e84af920b9 properly implement overflow-driven scrolling via interactivity 2026-07-11 09:31:07 -04:00
temportalflux 5e08033021 move element implementation details to shared trait for input and text-area 2026-07-11 09:31:07 -04:00
temportalflux 84af172e35 apply implemention for mouse events 2026-07-11 09:31:07 -04:00
temportalflux 479ee65c8b reorganize paint logic and actions module 2026-07-11 09:31:07 -04:00
temportalflux 93b00c5d32 stub out mouse events and painting of simple lines and quads 2026-07-11 09:31:07 -04:00
temportalflux dd9d4585d6 outline reimplemented ime operations 2026-07-11 09:31:07 -04:00
temportalflux bde62d95ea add UnicodeTextStorage trait for String and SharedString 2026-07-11 09:31:07 -04:00
temportalflux 866b7f4d62 add new editable text actions 2026-07-11 09:31:07 -04:00