summaryrefslogtreecommitdiffstats
path: root/widget/src/text_editor.rs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Simplify `InputMethod` API with only two statesLibravatar Héctor Ramón Jiménez2025-02-121-6/+2
| | | | | Co-authored-by: rhysd <lin90162@yahoo.co.jp> Co-authored-by: KENZ <KENZ.gelsoft@gmail.com>
* Use default size for empty pre-editsLibravatar Héctor Ramón Jiménez2025-02-121-5/+2
|
* Do not pass text size to `Preedit::new`Libravatar rhysd2025-02-061-1/+3
|
* Set correct text size for text in preedit windowLibravatar rhysd2025-02-061-4/+8
|
* Take `Event` by reference in `Widget::update`Libravatar Héctor Ramón Jiménez2025-02-041-13/+14
|
* Handle pre-edits and commits only if `text_editor` is focusedLibravatar Héctor Ramón Jiménez2025-02-031-9/+10
|
* Request redraws on `InputMethod` eventsLibravatar Héctor Ramón Jiménez2025-02-031-0/+4
|
* Implement basic IME selection in `Preedit` overlayLibravatar Héctor Ramón Jiménez2025-02-031-8/+19
|
* Track pre-edits separately from focus in text inputsLibravatar Héctor Ramón Jiménez2025-02-031-9/+6
|
* Refactor and simplify `input_method` APILibravatar Héctor Ramón Jiménez2025-02-021-53/+80
|
* Run `cargo fmt` and fix lintsLibravatar Héctor Ramón Jiménez2025-02-021-4/+5
|
* Draft `input_method` supportLibravatar KENZ2025-02-021-3/+66
|
* Add `min_height` and `max_height` to `text_editor`Libravatar Héctor Ramón Jiménez2025-01-301-4/+26
|
* Avoid capturing mouse press when `text_editor` is unfocusedLibravatar Héctor Ramón Jiménez2025-01-301-2/+4
|
* Introduce `LineEnding` to `editor` and fix inconsistenciesLibravatar Héctor Ramón Jiménez2025-01-281-52/+31
|
* Draft `iced_test` crate and test `todos` exampleLibravatar Héctor Ramón Jiménez2024-12-101-2/+2
|
* Fix new `clippy` lintsLibravatar Héctor Ramón Jiménez2024-12-021-2/+2
|
* Fix `text_editor` capturing mouse release eventsLibravatar Héctor Ramón Jiménez2024-11-051-2/+4
|
* Implement `reactive-rendering` for `text_editor`Libravatar Héctor Ramón Jiménez2024-11-051-147/+170
|
* Rename `Widget::on_event` to `update`Libravatar Héctor Ramón Jiménez2024-11-051-1/+1
|
* Replace `event::Status` in `Widget::on_event` with `Shell::capture_event`Libravatar Héctor Ramón Jiménez2024-11-051-7/+6
|
* Split `Shell::request_redraw` into two different methodsLibravatar Héctor Ramón Jiménez2024-11-051-3/+3
|
* Merge pull request #2632 from leo030303/fix_delete_key_bugLibravatar Héctor2024-10-141-1/+3
|\ | | | | Fixed bug where delete key wasn't working in the text editor
| * Fix `Binding::Delete` not triggering in `text_editor`Libravatar Leo Ring2024-10-141-1/+3
| |
* | Add `PartialEq` derives for widget stylesLibravatar BradySimon2024-10-141-1/+1
|/
* Merge pull request #2586 from lufte/masterLibravatar Héctor Ramón2024-09-191-2/+2
|\ | | | | Set the text color determined by the style function
| * Set the text color determined by the style functionLibravatar lufte2024-09-181-2/+2
| | | | | | | | Fixes: https://github.com/iced-rs/iced/issues/2557
* | Show `text_editor` example in multiple placesLibravatar Héctor Ramón Jiménez2024-09-191-1/+65
|/
* Fix priority of `Binding::Delete` in `text_editor`Libravatar Héctor Ramón Jiménez2024-09-131-1/+3
| | | | Co-authored-by: Trevor Campbell <trevor@shartrec.com>
* Set `Limits::width` in `TextEditor` layoutLibravatar Héctor Ramón Jiménez2024-09-131-1/+1
|
* Take `Into<Pixels>` in `TextEditor::width`Libravatar Héctor Ramón Jiménez2024-09-131-2/+2
| | | | Since a `Shrink` width would not make sense.
* feat: add width setterLibravatar Samson2024-09-131-0/+6
|
* Add `mouse::Button` to `mouse::Click`Libravatar Isaac Marovitz2024-09-091-0/+1
|
* Add `text::Wrapping` supportLibravatar Héctor Ramón Jiménez2024-09-041-1/+12
| | | | Co-authored-by: Neeraj Jaiswal <neerajj85@gmail.com>
* Use `clipped_cursor` directly in `text_editor`Libravatar Héctor Ramón Jiménez2024-08-121-6/+1
|
* Merge pull request #2536 from meithecatte/editor-clippingLibravatar Héctor Ramón2024-08-121-20/+13
|\ | | | | text_editor: Avoid rendering text outside the border
| * Fix clipping area of `text_editor` placeholderLibravatar Héctor Ramón Jiménez2024-08-121-1/+1
| |
| * Remove cursor snapping hack in `text_editor`Libravatar Héctor Ramón Jiménez2024-08-121-1/+1
| | | | | | | | | | The `quad` shader now properly takes care of snapping lines to the pixel grid.
| * Make `Padding` affect `text_editor` clippingLibravatar Héctor Ramón Jiménez2024-08-121-17/+10
| |
| * text_editor: Avoid rendering text outside the borderLibravatar Maja Kądziołka2024-08-031-3/+3
| | | | | | | | | | If the height could fit slightly less than an extra line, said line would protrude beyond the border of the text editor.
* | Introduce `black_box` and `chain` in `widget::operation`Libravatar Héctor Ramón Jiménez2024-08-081-1/+1
|/
* Simplify `focus` method in `text_editor`Libravatar Héctor Ramón Jiménez2024-07-291-7/+1
|
* Implement blinking cursor for `text_editor`Libravatar Héctor Ramón Jiménez2024-07-291-13/+90
|
* Fix unused `core` import in `text_editor` moduleLibravatar Héctor Ramón Jiménez2024-07-291-2/+2
|
* Simplify `highlight` method for `text_editor` widgetLibravatar Héctor Ramón Jiménez2024-07-281-2/+21
|
* Reduce `KeyPress` duplication in `text_editor`Libravatar Héctor Ramón Jiménez2024-07-261-12/+9
|
* Implement custom key binding support for `text_editor`Libravatar Héctor Ramón Jiménez2024-07-261-118/+272
|
* Fix broken doc link in `text_editor`Libravatar Héctor Ramón Jiménez2024-07-241-1/+1
|
* Add `placeholder` support to `text_editor` widgetLibravatar Héctor Ramón Jiménez2024-07-241-9/+53
|
* Flesh out the `markdown` example a bit moreLibravatar Héctor Ramón Jiménez2024-07-181-0/+29
|