summaryrefslogtreecommitdiffstats
path: root/graphics/src/text (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
2025-01-10Fix text wrapping for `rich_text`Libravatar Héctor Ramón Jiménez1-0/+2
2025-01-07Apply wrapping to paragraphsLibravatar Konsl1-0/+2
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énez2-12/+22
2024-07-28Use `for` loop instead of `fold` in `span_bounds`Libravatar Héctor Ramón Jiménez1-29/+29
2024-07-28Add background styling to span / rich textLibravatar Cory Forsstrom1-1/+52
2024-07-24Add `placeholder` support to `text_editor` widgetLibravatar Héctor Ramón Jiménez1-0/+7
2024-07-21Simplify font attributes in `Paragraph::with_spans`Libravatar Héctor Ramón Jiménez1-9/+1
2024-07-21Add `Link` support to `rich_text` widgetLibravatar Héctor Ramón Jiménez1-7/+35
2024-07-17Implement `rich_text` widget and `markdown` exampleLibravatar Héctor Ramón Jiménez1-2/+78
2024-07-17Decouple caching from `Paragraph` APILibravatar Héctor Ramón Jiménez1-58/+24
2024-07-17Update `cosmic-text` and `resvg` (#2416)Libravatar Héctor Ramón3-169/+132
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-04-07Use built-in `[lints]` table in `Cargo.toml`Libravatar Héctor Ramón Jiménez1-3/+2
2024-04-01Use generic `Content` in `Text` to avoid reallocation in `fill_text`Libravatar Héctor Ramón Jiménez1-2/+2
2024-03-30Replace `xxhash-rust` with `rustc-hash`Libravatar Héctor Ramón Jiménez1-7/+4
2024-02-07Fix wrapped lines not being considered when measuring `TextEditor`Libravatar Héctor Ramón Jiménez1-0/+6
2024-01-11Avoid division by zero in `grapheme_position`Libravatar Héctor Ramón Jiménez1-1/+1
2024-01-11Fix `grapheme_position` when ligatures are presentLibravatar Héctor Ramón Jiménez1-10/+15
2023-11-11Migrate twox-hash -> xxhash_rust. Switch to Xxh3 for better performance.Libravatar dtzxporter1-5/+1
2023-10-27Fix intra-doc broken linksLibravatar Héctor Ramón Jiménez1-1/+1
2023-10-27Write documentation for the new text APIsLibravatar Héctor Ramón Jiménez3-0/+45
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