summaryrefslogtreecommitdiffstats
path: root/widget/src/text_input.rs (unfollow)
Commit message (Collapse)AuthorFilesLines
2025-02-21Add `is_focused` function that produces an `Operation` to get the focused ↵Libravatar Andrew Baldwin1-0/+5
state of a `focusable` by ID. Add `is_focused` function that produces a `Task` to get the focused state of a `text_input` by ID.
2025-02-22Add `weakest` and `strongest` to `Background` paletteLibravatar Héctor Ramón Jiménez1-2/+2
... and tweak background shade generation logic.
2025-02-21Run `cargo fmt`Libravatar Héctor Ramón Jiménez1-1/+1
2025-02-12Fix `request_input_method` call in `text_input`Libravatar Héctor Ramón Jiménez1-15/+16
2025-02-12Simplify `InputMethod` API with only two statesLibravatar Héctor Ramón Jiménez1-16/+12
Co-authored-by: rhysd <lin90162@yahoo.co.jp> Co-authored-by: KENZ <KENZ.gelsoft@gmail.com>
2025-02-12Fix unneeded re-shaping during layout on `text_input` editLibravatar Héctor Ramón Jiménez1-1/+1
2025-02-12Use default size for empty pre-editsLibravatar Héctor Ramón Jiménez1-7/+2
2025-02-06Do not pass text size to `Preedit::new`Libravatar rhysd1-2/+7
2025-02-06Set correct text size for text in preedit windowLibravatar rhysd1-1/+2
2025-02-05Remove the placeholder text when IME is activated in text inputLibravatar rhysd1-1/+7
2025-02-04Take `Event` by reference in `Widget::update`Libravatar Héctor Ramón Jiménez1-1/+1
2025-02-03Request redraws on `InputMethod` eventsLibravatar Héctor Ramón Jiménez1-1/+5
2025-02-03Implement basic IME selection in `Preedit` overlayLibravatar Héctor Ramón Jiménez1-5/+8
2025-02-03Clamp pre-edit inside viewport boundsLibravatar Héctor Ramón Jiménez1-3/+2
2025-02-03Track pre-edits separately from focus in text inputsLibravatar Héctor Ramón Jiménez1-12/+7
2025-02-02Refactor and simplify `input_method` APILibravatar Héctor Ramón Jiménez1-65/+83
2025-02-02Run `cargo fmt` and fix lintsLibravatar Héctor Ramón Jiménez1-15/+10
2025-02-02Draft `input_method` supportLibravatar KENZ1-2/+93
2024-12-10Draft `iced_test` crate and test `todos` exampleLibravatar Héctor Ramón Jiménez1-3/+12
2024-12-02Fix new `clippy` lintsLibravatar Héctor Ramón Jiménez1-2/+2
2024-11-05Rename `Widget::on_event` to `update`Libravatar Héctor Ramón Jiménez1-1/+1
2024-11-05Replace `event::Status` in `Widget::on_event` with `Shell::capture_event`Libravatar Héctor Ramón Jiménez1-35/+31
2024-11-05Split `Shell::request_redraw` into two different methodsLibravatar Héctor Ramón Jiménez1-33/+17
2024-11-05Implement `reactive-rendering` for `text_input`Libravatar Héctor Ramón Jiménez1-57/+166
... and fix the redraw queue logic in `iced_winit`.
2024-10-14Add `PartialEq` derives for widget stylesLibravatar BradySimon1-1/+1
2024-09-19Show `text_input` doc example in multiple placesLibravatar Héctor Ramón Jiménez1-12/+52
2024-09-18Implement some `From` traits for `text_input::Id`Libravatar Héctor Ramón Jiménez1-12/+27
2024-09-09Add `mouse::Button` to `mouse::Click`Libravatar Isaac Marovitz1-2/+5
2024-09-07Simplify type signature of `TextInput` methodsLibravatar Héctor Ramón Jiménez1-21/+11
2024-09-07Add `*_maybe` helper methods for `TextInput`Libravatar JL7101-0/+39
2024-09-04Add `text::Wrapping` supportLibravatar Héctor Ramón Jiménez1-0/+3
Co-authored-by: Neeraj Jaiswal <neerajj85@gmail.com>
2024-09-04Allow interactions on disabled `text_input`Libravatar Héctor Ramón Jiménez1-19/+28
Co-authored-by: Daniel Yoon <101683475+Koranir@users.noreply.github.com>
2024-08-24Implement `align_x` for `TextInput`Libravatar Shan1-10/+69
Co-authored-by: Shan <shankern@protonmail.com>
2024-08-08Introduce `black_box` and `chain` in `widget::operation`Libravatar Héctor Ramón Jiménez1-1/+1
2024-07-29Implement blinking cursor for `text_editor`Libravatar Héctor Ramón Jiménez1-15/+0
2024-07-17Decouple caching from `Paragraph` APILibravatar Héctor Ramón Jiménez1-15/+17
2024-07-05Hide internal `Task` constructorsLibravatar Héctor Ramón Jiménez1-6/+7
2024-06-14Replace `Command` with a new `Task` API with chain supportLibravatar Héctor Ramón Jiménez1-20/+23
2024-06-10Introduce `window::Id` to `Event` subscriptionsLibravatar Héctor Ramón Jiménez1-3/+3
And remove `window::Id` from `Event` altogether.
2024-05-31Create `jump` and `macos_command` methods in `keyboard::Modifiers`Libravatar Héctor Ramón Jiménez1-39/+6
2024-05-31Add Command + ArrowLeft/Right input behavior for macosLibravatar BradySimon1-20/+61
2024-04-05Decouple caching from layering and simplify everythingLibravatar Héctor Ramón Jiménez1-4/+5
2024-04-02Check is_secure before a copy/cut from TextInput (#2366)Libravatar Aaron McGuire1-2/+4
* Check is_secure before copy/cut on text_input * run cargo fmt
2024-04-01Use generic `Content` in `Text` to avoid reallocation in `fill_text`Libravatar Héctor Ramón Jiménez1-2/+4
2024-03-24Use `Catalog` approach for all widgetsLibravatar Héctor Ramón Jiménez1-50/+56
2024-03-12Use closures for `TextInput::style`Libravatar Héctor Ramón Jiménez1-13/+16
2024-03-10Use integer coordinates for input caretLibravatar Héctor Ramón Jiménez1-1/+2
This should stop the caret from changing thickness in screens with an integral scale factor.
2024-03-07Leverage `DefaultStyle` traits instead of `Default`Libravatar Héctor Ramón Jiménez1-17/+14
2024-03-07Move `Theme` type to `iced_core`Libravatar Héctor Ramón Jiménez1-4/+2
2024-03-06Use `Style` struct pattern instead of trait for all widgetsLibravatar Héctor Ramón Jiménez1-17/+36