Open shreyas1599 opened 3 years ago
Can this change be merged? I would love to have the highlighted code selectable.
It would be nice to merge this !
Hi, any update on this?
@pd4d10 It seems there are many people who would benefit from this, myself included... would you be able to provide some insight into what's holding up the merge? Thanks!
This is not the right way to do this. There are use cases where selectability is not desired.
The consumer of this package should be able to choose whether the text is selectable or not. The way to do that is by replacing RichText
with Text.rich
(the latter sets up the appropriate selection machinery) or supply appropriate values for selectionRegistrar
and selectionColor
to RichText
. Either of these will let consumers determine selectivity by e.g. wrapping with SelectionArea
.
will close #24 and git-touch/git-touch#204 @pd4d10 is this okay or should it be made a flag for the user to enable?