aboutsummaryrefslogtreecommitdiff
path: root/src/text.rs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* feat: make click interval for double & triple clicks customizablePolesznyák Márk2026-02-051-3/+16
|
* fix: graphemes with multi codepoint on multiple visual linesalex-ds132025-12-291-46/+78
| | | | | | | - 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-ds132025-12-291-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-ds132025-12-291-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-ds132025-12-291-5/+55
|
* feat: correct selection on wrapped lines and allow mouse drag out of boundsalex-ds132025-12-291-156/+131
|
* chore: add missing hint_factor fields (iced update)Polesznyák Márk2025-12-291-0/+1
|
* chore: update as necessary for upstream iced changesPolesznyák Márk2025-12-081-2/+2
|
* feat: implement double-click + drag by-word selectionPolesznyák Márk2025-11-121-9/+16
|
* docs: add examples to helper methods, macros and `Text` doc commentsPolesznyák Márk2025-10-261-0/+15
|
* feat: clean up debugging code, add multi-line fix to `Rich`Polesznyák Márk2025-10-261-62/+30
|
* fix(wip): multi line text selection box drawing (works for non-wrapped)Polesznyák Márk2025-10-251-16/+132
|
* feat: implement triple-click + drag by-line selectionPolesznyák Márk2025-10-211-10/+31
|
* refactor: clean up text imports, cursor position codePolesznyák Márk2025-10-211-37/+30
|
* docs: list keyboard shortcuts under `text` modulePolesznyák Márk2025-10-211-0/+17
|
* docs: fix broken links pointing to iced stuffPolesznyák Márk2025-10-211-0/+2
|
* feat: add selectable `Rich` widget with an examplePolesznyák Márk2025-10-191-3/+4
|
* feat: initial commitPolesznyák Márk2025-10-181-0/+715