aboutsummaryrefslogtreecommitdiff
path: root/src/text/rich.rs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* feat: prepare for release0.14Polesznyák Márk2026-02-051-2/+6
|
* feat: make click interval for double & triple clicks customizablePolesznyák Márk2026-02-051-5/+19
|
* fix: graphemes with multi codepoint on multiple visual linesalex-ds132026-02-051-47/+79
| | | | | | | - The logic for graphemes with multiple codepoints was working when they were on a single visual line, however on multiple visual lines the lines after the one that contained such grapheme weren't taking that into consideration.
* fix: select graphemes with multi codepoints properlyalex-ds132026-02-051-14/+24
| | | | | | | | | - We continue to use the graphemes index for the selection ends, however when calculating the selection rectangles we now check if the visual line had any glyph with `start` and `end` index bigger than 1 before or within the range and update the range accordingly. This way all the code that checks for word boundaries when selecting by words still functions properly.
* fix: outbounds selecting when inside a scrollablealex-ds132026-02-051-1/+1
| | | | | | | - If we were dragging a selection and move the mouse out of bounds of the text widget and an the same time it went out of bounds of a parent scrollable, the cursor would be levitated so we weren't getting it's cursor position. Now we land the cursor before checking the position.
* fix: take visual bounds into consideration when text is centeredalex-ds132026-02-051-4/+53
|
* feat: correct selection on wrapped lines and allow mouse drag out of boundsalex-ds132026-02-051-156/+131
|
* chore: update as necessary for upstream iced changesPolesznyák Márk2025-12-081-6/+3
|
* chore: update as necessary for upstream iced changesPolesznyák Márk2025-11-211-2/+2
|
* feat: implement double-click + drag by-word selectionPolesznyák Márk2025-11-121-9/+16
|
* feat(rich): add `on_link_hover` and `on_hover_lost`Polesznyák Márk2025-11-031-12/+63
|
* feat: clean up debugging code, add multi-line fix to `Rich`Polesznyák Márk2025-10-261-25/+121
|
* feat: implement triple-click + drag by-line selectionPolesznyák Márk2025-10-211-13/+24
|
* feat: add selectable `Rich` widget with an examplePolesznyák Márk2025-10-191-0/+841
|
* feat: initial commitPolesznyák Márk2025-10-181-0/+0