Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Editable ParsedText #10

Closed
Addictorator opened this issue Oct 19, 2019 · 1 comment
Closed

Editable ParsedText #10

Addictorator opened this issue Oct 19, 2019 · 1 comment

Comments

@Addictorator
Copy link

Is it possible to make ParsedText optionally editable, like with a boolean? I understand RichText doesn't allow for it, since there's preset spans with fixed portions of texts and textstyles, but it makes sense conceptually for parsed text, where the spans are built by matching the text, thus in a case of the text being edited, simply reparse it with the changes.

Programmatically, might be difficult to implement though. Is this a possible feature or would it require too much of an overhaul? Thanks either way!

@fayeed
Copy link
Owner

fayeed commented Oct 19, 2019

In the previous implementation for this package, I actually didn't use RichText since I didn't know about it so I used a Row to implement it and then later I changed it to RichText as it seems like a better solution.

To answer your question is possible or not? Yes, it is but not with RichText, it would have been possible in the previous implementation.

@fayeed fayeed closed this as completed Oct 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants