aboutsummaryrefslogtreecommitdiff
path: root/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* fix: graphemes with multi codepoint on multiple visual linesalex-ds132025-12-292-93/+157
| | | | | | | - 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-292-28/+48
| | | | | | | | | - 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-292-2/+2
| | | | | | | - 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-292-9/+108
|
* feat: correct selection on wrapped lines and allow mouse drag out of boundsalex-ds132025-12-292-312/+262
|
* chore: add missing hint_factor fields (iced update)Polesznyák Márk2025-12-292-2/+9
|
* chore: update as necessary for upstream iced changesPolesznyák Márk2025-12-083-20/+38
|
* chore: update as necessary for upstream iced changesPolesznyák Márk2025-11-212-15/+15
|
* feat: implement double-click + drag by-word selectionPolesznyák Márk2025-11-123-18/+105
|
* feat(rich): add `on_link_hover` and `on_hover_lost`Polesznyák Márk2025-11-031-12/+63
|
* feat: add `span!` macro (same as `text!`)Polesznyák Márk2025-11-031-0/+41
|
* fix: `Selection::text` not counting from `start.line`v0.1.0Polesznyák Márk2025-10-291-1/+6
|
* docs: add examples to helper methods, macros and `Text` doc commentsPolesznyák Márk2025-10-262-1/+129
|
* feat: clean up debugging code, add multi-line fix to `Rich`Polesznyák Márk2025-10-262-87/+151
|
* fix(wip): multi line text selection box drawing (works for non-wrapped)Polesznyák Márk2025-10-251-16/+132
|
* fix: triple-click + drag edge casesPolesznyák Márk2025-10-211-2/+27
|
* feat: implement triple-click + drag by-line selectionPolesznyák Márk2025-10-213-23/+80
|
* 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
|
* fix: `Selection::text` not accounting for graphemes larger than 1 bytePolesznyák Márk2025-10-211-5/+14
|
* docs: fix broken links pointing to iced stuffPolesznyák Márk2025-10-212-0/+6
|
* feat: add `markdown` examplePolesznyák Márk2025-10-201-5/+2
|
* feat: make markdown support optional with a feature flagPolesznyák Márk2025-10-201-0/+2
|
* fix: markdown `Viewer` implPolesznyák Márk2025-10-201-3/+3
|
* feat(wip): add markdown supportPolesznyák Márk2025-10-202-0/+257
|
* feat: add selectable `Rich` widget with an examplePolesznyák Márk2025-10-193-5/+887
|
* feat: initial commitPolesznyák Márk2025-10-184-0/+1180