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