Poly
15f794b7a8
Address Clippy lints
2022-07-09 17:07:38 +02:00
Héctor Ramón Jiménez
0aafcde0ef
Remove widget module re-exports in iced_native
2021-10-31 16:14:34 +07:00
Dispersia
983aa1b366
Run cargo fmt
2021-04-12 23:23:47 -07:00
Héctor Ramón Jiménez
21971e0037
Make Clipboard argument in Widget trait mutable
2021-03-10 01:59:02 +01:00
Héctor Ramón Jiménez
01322f69a4
Use recently stabilized intra-doc links
...
See RFC: https://github.com/rust-lang/rfcs/blob/master/text/1946-intra-rustdoc-links.md
2020-11-26 02:05:43 +01:00
Héctor Ramón Jiménez
df712f9ccf
Implement flexible TextInput::draw helper
2020-11-17 05:13:06 +01:00
Héctor Ramón Jiménez
4314ce36f4
Remove redundant min checks in Editor
2020-07-11 00:11:45 +02:00
Héctor Ramón Jiménez
a1210c9dae
Improve safety of Cursor::selection
2020-07-11 00:00:14 +02:00
mtkennerly
855c0faa59
Fix panic on paste in TextInput after programmatic modification of contents
2020-07-10 07:14:26 -04:00
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