diff options
Diffstat (limited to '')
| -rw-r--r-- | README.md | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -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`. |
