summaryrefslogtreecommitdiffstats
path: root/graphics/src/text/editor.rs (follow)
Commit message (Expand)AuthorAgeFilesLines
* Simplify `InputMethod` API with only two statesLibravatar Héctor Ramón Jiménez2025-02-121-3/+28
* Introduce `LineEnding` to `editor` and fix inconsistenciesLibravatar Héctor Ramón Jiménez2025-01-281-5/+12
* Remove unnecessary `buffer_mut_from_editor` callLibravatar Héctor Ramón Jiménez2024-09-041-1/+1
* Add `text::Wrapping` supportLibravatar Héctor Ramón Jiménez2024-09-041-11/+16
* Add `placeholder` support to `text_editor` widgetLibravatar Héctor Ramón Jiménez2024-07-241-0/+7
* Update `cosmic-text` and `resvg` (#2416)Libravatar Héctor Ramón2024-07-171-163/+126
* add SelectAll to TextEditorLibravatar PgBiel2024-07-081-0/+21
* Fix `text_editor` always capturing scroll eventsLibravatar Héctor Ramón Jiménez2024-06-171-8/+4
* Fix panic when scrolling a `TextEditor` inside a `scrollable`Libravatar Héctor Ramón Jiménez2024-04-261-4/+8
* Fix wrapped lines not being considered when measuring `TextEditor`Libravatar Héctor Ramón Jiménez2024-02-071-0/+6
* Write documentation for the new text APIsLibravatar Héctor Ramón Jiménez2023-10-271-0/+12
* Implement `Scroll` action in `text::editor`Libravatar Héctor Ramón Jiménez2023-09-191-0/+6
* Flesh out the `editor` example a bit moreLibravatar Héctor Ramón Jiménez2023-09-181-1/+7
* Update `version` properly when `FontSystem` changes in `text::editor`Libravatar Héctor Ramón Jiménez2023-09-181-0/+3
* Fix inconsistent `expect` messages in `text::editor`Libravatar Héctor Ramón Jiménez2023-09-181-3/+3
* Shape as needed only in `update` during `layout`Libravatar Héctor Ramón Jiménez2023-09-181-4/+2
* Find correct `last_visible_line` in `Editor::highlight`Libravatar Héctor Ramón Jiménez2023-09-181-5/+21
* Avoid adding unnecessary spans when syntax highlightingLibravatar Héctor Ramón Jiménez2023-09-171-11/+13
* Notify `Highlighter` of topmost line changeLibravatar Héctor Ramón Jiménez2023-09-171-18/+40
* Use `saturating_sub` for `last_visible_line` in `text::Editor`Libravatar Héctor Ramón Jiménez2023-09-171-2/+3
* Implement basic syntax highlighting with `syntect` in `editor` exampleLibravatar Héctor Ramón Jiménez2023-09-171-3/+22
* Draft `Highlighter` APILibravatar Héctor Ramón Jiménez2023-09-171-0/+67
* Use fork of `cosmic-text` with some minor fixesLibravatar Héctor Ramón Jiménez2023-09-161-35/+1
* Implement `Copy` and `Paste` actions for `text::Editor`Libravatar Héctor Ramón Jiménez2023-09-161-0/+11
* Implement methods to query the contents of a `TextEditor`Libravatar Héctor Ramón Jiménez2023-09-161-0/+41
* Remove `min_bounds` field in `graphics::text::Editor`Libravatar Héctor Ramón Jiménez2023-09-141-17/+0
* Remove `Editor::min_bounds` and use `bounds` insteadLibravatar Héctor Ramón Jiménez2023-09-141-4/+0
* Implement `Action::SelectLine` in `text::Editor`Libravatar Héctor Ramón Jiménez2023-09-141-1/+18
* Implement `Action::SelectWord` in `text::Editor`Libravatar Héctor Ramón Jiménez2023-09-141-1/+60
* Implement motion selection in `text::Editor`Libravatar Héctor Ramón Jiménez2023-09-141-1/+20
* Handle motions when a selection is present in `text::Editor`Libravatar Héctor Ramón Jiménez2023-09-141-23/+47
* Fix `Cursor::Caret` position on lines that wrap on whitespaceLibravatar Héctor Ramón Jiménez2023-09-141-2/+12
* Fix scrolling offset for `Cursor::Selection`Libravatar Héctor Ramón Jiménez2023-09-141-43/+31
* Fix `clippy` lintsLibravatar Héctor Ramón Jiménez2023-09-131-9/+18
* Introduce `Motion` concept in `core::text::editor`Libravatar Héctor Ramón Jiménez2023-09-131-24/+82
* Implement `Cursor::Selection` calculation in `Editor::cursor`Libravatar Héctor Ramón Jiménez2023-09-131-3/+115
* Fix subline positioning in `Editor::cursor`Libravatar Héctor Ramón Jiménez2023-09-121-1/+1
* Fix cursor offset with `Affinity::After` at the end of lines in `Editor::cursor`Libravatar Héctor Ramón Jiménez2023-09-121-1/+4
* Return `Cursor::Caret` if selection matches cursor position in `Editor::cursor`Libravatar Héctor Ramón Jiménez2023-09-121-5/+8
* Add `Enter` variant to `Action` in `text::Editor`Libravatar Héctor Ramón Jiménez2023-09-121-0/+1
* Draft `Editor` API and `TextEditor` widgetLibravatar Héctor Ramón Jiménez2023-09-121-0/+327