From ea06c45dd42193f2f436f873a7b1d1b29be21084 Mon Sep 17 00:00:00 2001 From: Polesznyák Márk Date: Tue, 30 Dec 2025 16:31:57 +0100 Subject: docs: update CHANGLELOG and README to reflect latest changes --- README.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index d69df0b..3dc463a 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ Roughly: - `lib.rs`: Helper methods, macros and re-exports. ## Wrapped text support -Wrapped text currently isn't supported. Although single-click mouse selection and most keyboard shortcuts will select text correctly, the selection box(es) drawn will be incorrect for wrapped segments and by-line selection (`Shift + Up Arrow` / `Shift + Down Arrow` & triple-click mouse selection) will treat all wrapped segments as part of the same line. +Wrapped text is supported, but by-line selection (`Shift + Up Arrow` / `Shift + Down Arrow` & triple-click mouse selection) will treat all wrapped segments as part of the same line. ## Installation Simply add it to under your `Cargo.toml`'s `dependencies` section. @@ -36,13 +36,16 @@ iced_selection = { git = "https://git.sr.ht/~pml68/iced_selection" } ## TODO -- [ ] allow out-of-bounds selection dragging +- [X] allow out-of-bounds selection dragging - [X] custom markdown `Viewer` - [X] double-click + drag for by-word selection - [X] triple-click + drag for by-line selection -- [ ] support wrapped lines +- [X] support wrapped lines +- [ ] fix by-line selection for wrapped line segments +- [ ] make "combining" multiple text widgets possible ([`feat/global-selectable`](https://git.sr.ht/~pml68/iced_selection/tree/feat/global-selectable)) ## Special thanks - [`iced`](https://iced.rs), for making this possible in the first place, and for the modified source code of `Text`, `Rich` and `Selection` (based on [`text_input/cursor.rs`](https://github.com/iced-rs/iced/blob/master/widget/src/text_input/cursor.rs)). - [`Halloy`](https://halloy.chat), for its amazing selectable text implementation (check it out, but mind the GPLv3!). +- [`alex-ds13`](https://github.com/alex-ds13) for their incredible contributions to `iced_selection`. -- cgit v1.2.3