Héctor Ramón Jiménez
bb9ccc4f62
Remove inconsistent input module in iced_native
2020-04-30 05:04:45 +02:00
Héctor Ramón Jiménez
e55cd9652e
Split Input mouse event by ButtonState
2020-04-30 04:53:15 +02:00
Héctor Ramón Jiménez
e139aae143
Split Input keyboard event by ButtonState
2020-04-30 04:34:29 +02:00
Héctor Ramón Jiménez
5e47238489
Rename leftover TextInputWidget to Marker
2020-04-13 04:38:35 +02:00
Olivier Pinon
f7d7ab1ba9
Remove unnecessary 'static lifetime on Renderer
2020-04-12 00:57:44 +02:00
FabianLars
6ca97788b2
implement ctrl + del on text-input
2020-04-06 15:22:52 +02:00
Héctor Ramón Jiménez
c114be034a
Fix typo in text_input::Renderer::draw docs
2020-04-02 03:44:14 +02:00
Michael Swan
4ca54836a8
Add Ctrl+Backspace text field behaviour
2020-03-30 22:37:28 -05:00
Héctor Ramón Jiménez
d07304fb85
Hash type ids in Widget::hash_layout impls
2020-03-30 17:28:55 +02:00
Théo Gaillard
0539cd1b85
refactor: remove not mandatory static lifetime
2020-03-30 06:39:10 +08:00
Héctor Ramón Jiménez
30f02345a8
Implement Renderer::find_cursor_position
2020-03-25 13:57:02 +01:00
Héctor Ramón Jiménez
d6914d79a1
Rename is_pressed to is_dragging in text_input
2020-03-24 21:48:54 +01:00
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