Héctor Ramón Jiménez
5e6970b615
Improve docs of text_input::State::cursor
2020-03-24 21:47:43 +01:00
Héctor Ramón Jiménez
6791c0b208
Remove commented code in text_input
2020-03-24 21:46:20 +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
Héctor Ramón Jiménez
7cb1452d29
Convert mouse::State into mouse::Click
2020-03-24 19:03:17 +01:00
FabianLars
b632dce0da
fixed panic on pasting into non updating input
2020-03-14 10:51:36 +01:00
FabianLars
731e6752eb
keep cursor inside value boundaries more reliable
2020-03-13 17:54:02 +01:00
FabianLars
767096b9bb
disable word selection if is_secure == true
2020-02-27 12:13:47 +01:00
FabianLars
0d8d236be6
More selection actions: (Ctrl +) Shift + Left/Right, Shift + Home/End
2020-02-25 17:03:52 +01:00
FabianLars
c47e30e960
double click fixed
2020-02-24 20:10:20 +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
FabianLars
190dcef155
Text Selection completely rewritten
2020-02-24 04:14:32 +01:00
FabianLars
883843a72d
max time window for double click
2020-02-23 01:23:57 +01:00
FabianLars
f72b1f8c45
double click for word selection
...
3 clicks to select all
2020-02-23 00:26:15 +01:00
FabianLars
33ca29f395
ctrl + a selection for text input
2020-02-22 22:17:51 +01:00
FabianLars
b2344a852e
inital patch by Finnerale
2020-02-22 21:33:45 +01:00
daxpedda
f4b8bce837
Revert changing the constructor and implement new method.
2020-02-14 21:41:35 +01:00
daxpedda
b72bd0b2b5
Add bound to Node constructor.
2020-02-14 15:57:07 +01:00
Héctor Ramón Jiménez
282ae1dc9e
Implement TextInput styling in iced_web
2020-02-06 02:37:49 +01:00
sumibi-yakitori
713ed3aca1
Custom fonts can be set in the text input.
2020-01-27 04:28:40 +09:00
Héctor Ramón Jiménez
7b278755fc
Write missing docs and reenable deny statements
2020-01-09 18:31:07 +01:00
Héctor Ramón Jiménez
5e018965ee
Merge branch 'master' into feature/custom-styling
2020-01-09 06:04:05 +01:00
Héctor Ramón Jiménez
a4e833e860
Merge branch 'master' into feature/shrink-by-default
2020-01-09 01:37:57 +01:00
Héctor Ramón Jiménez
bbc8f837d7
Merge branch 'master' into feature/custom-styling
2020-01-05 22:03:32 +01:00
Songtronix
d60f3b89a7
add(widget): primitive progressbar widget
2020-01-02 11:11:08 +01:00
Héctor Ramón Jiménez
5af4159848
Draft basic styling for TextInput
2020-01-01 18:26:49 +01:00
Héctor Ramón Jiménez
2ff0e48142
Make Row, Column, and Checkbox shrink by default
2019-12-30 21:00:27 +01:00
Héctor Ramón Jiménez
8caa66be27
Add Renderer::Defaults and style inheritance
2019-12-30 12:14:26 +01:00
Héctor Ramón Jiménez
c04dff99da
Fix sneaky overflow in TextInput when pasting
2019-12-21 05:49:09 +01:00
Héctor Ramón Jiménez
938177e225
Move cursor position to start on left boundary click
2019-12-21 05:36:36 +01:00
Héctor Ramón Jiménez
36e7ac2048
Fix cursor positioning in TextInput on overflow
2019-12-21 05:30:48 +01:00
Héctor Ramón Jiménez
68f3c9c4c6
Implement clipboard pasting in TextInput
2019-12-18 09:11:33 +01:00
Héctor Ramón Jiménez
a14b39555e
Allow clipboard access in Widget::on_event
2019-12-18 07:45:49 +01:00
Héctor Ramón Jiménez
c59ff69473
Change TextInput word-jump modifier key on macOS
2019-12-07 07:24:55 +01:00
Héctor Ramón Jiménez
34bdfe9416
Implement TextInput::password for secure data
2019-12-07 07:18:15 +01:00
Héctor Ramón Jiménez
69590bcf72
Consider word bounds in TextInput cursor jumps
2019-12-06 05:45:06 +01:00
Héctor Ramón Jiménez
a56eef0fec
Use unicode-segmentation for text_input::Value
2019-12-06 04:46:53 +01:00
Héctor Ramón Jiménez
114a759d2c
Implement word movement in TextInput
2019-12-06 04:01:54 +01:00
Héctor Ramón Jiménez
65cac922b3
Add ModifiersState to keyboard::Event::Input
2019-12-06 04:01:48 +01:00
Héctor Ramón Jiménez
7c8799e493
Support Home and End keys for TextInput
2019-12-05 03:16:50 +01:00
Héctor Ramón Jiménez
ef987ae2ec
Remove unnecessary use of abs
2019-12-05 03:14:32 +01:00
Héctor Ramón Jiménez
14fb7e13fb
Place TextInput cursor position on click
2019-12-05 03:09:39 +01:00
Héctor Ramón Jiménez
47196c9007
Display widget images in documentation
2019-11-24 10:48:29 +01:00
Héctor Ramón Jiménez
f943764a29
Fix iced_native widget examples
2019-11-24 10:44:55 +01:00
Héctor Ramón Jiménez
d136b7ce64
Uncomment missing debug implementations rule
2019-11-22 21:16:40 +01:00
Héctor Ramón Jiménez
a7dba612f0
Write docs for iced and iced_native
2019-11-22 19:36:57 +01:00
Héctor Ramón Jiménez
428509c84a
Merge branch 'master' into improvement/docs
2019-11-21 13:53:02 +01:00
Héctor Ramón Jiménez
65eb218d3d
Move widgets from core to native and web
...
Also made fields private and improved `Renderer` traits.
2019-11-21 13:47:20 +01:00
Héctor Ramón Jiménez
6cdf69e76b
Make width and height required methods
2019-11-16 22:08:49 +01:00