Kai Mast
cbe9298a0b
Clippy
2020-03-28 15:25:55 -07:00
Héctor Ramón Jiménez
bc10ca501b
Remove unnecessary borrows in Editor
2020-03-25 14:07:32 +01:00
Héctor Ramón Jiménez
cb32326fe6
Fix edge cases when inserting text in Editor
2020-03-25 14:03:15 +01:00
Héctor Ramón Jiménez
857d65c1ce
Write documentation for text_input::Cursor
2020-03-24 21:43:28 +01:00
Héctor Ramón Jiménez
735d9f049c
Fix edge case in Editor::backspace
2020-03-24 20:57:03 +01:00
Héctor Ramón Jiménez
6c47a40730
Create text_input::Editor to hold editing logic
2020-03-24 20:51:22 +01:00
Héctor Ramón Jiménez
28382a47d3
Move Value to its own module
2020-03-24 20:36:33 +01:00
Héctor Ramón Jiménez
6b89dd7db9
Improve text_input::cursor API
2020-03-24 20:23:31 +01:00
FabianLars
1ad83889be
really small cleanup
2020-02-26 21:58:34 +01:00
FabianLars
0d8d236be6
More selection actions: (Ctrl +) Shift + Left/Right, Shift + Home/End
2020-02-25 17:03:52 +01:00
FabianLars
c6c8cabdaf
moved cursor into own file
...
moved click tracking as a new State struct to input::mouse
made cursor field of text_input state private
brought back cursor type(Index, Selection) representation with a state enum
cleaned out some stuff (but not enough/all)
TODO: Documentation (sigh)
TODO: Editor struct
TODO: some (hopefully) small improvements here and there
2020-02-24 18:03:42 +01:00