Closed hugmouse closed 2 years ago
Thanks for the pull requests, I have merged all 3 of them. Regarding text selection working weird, it's because each gemtext line is converted into a view. That was easier to do than try to generate one long AttributedString, although that would probably be the best way to allow text selection to work properly.
This commit allows selecting some text.
P.s. Now the text selection is quite strange because it only selects one line. For example, if we select everything with
CMD + A
and then try to do something with that context - it only selects one line.It's more of an idea than a working solution, so feel free to suggest another solution 🤔
Screenshots