iced_aw
iced_aw copied to clipboard
Add a TextArea widget
It would be nice to implement a TextArea
widget for great blocks of text that might be hardly handled through an InputText
widget.
Something like this could be a visual example:
This topic has come up many times (iced#839, iced#320 & iced#197).
Multi-line text input is really really hard to implement. Nevertheless, to be able to implement such a widget, the current text rendering approach needs a rework first (iced#33).
Oh, I didn't know about that, thanks for the resume, now it's pretty clear. :smile:
Feel free to close this issue anytime. I would leave it open as a reminder, but no problem if it is going to be closed.
Assuming I don't care about font fallback and non-English text, is this really needed for multi-line input?
It probably doesn't make sense to develop a widget and then having to rewrite large chunks of it when better font rendering is added.
I want to coding a Rich Text Editor, but Text widget has no "Selection()", "Range()" methods.
this will probably get much better once cosmic-text is added to Iced
Cosmic Text is finally in iced since the last update. also there is a cosmic multi line text box. Which is not in iced_aw. https://github.com/pop-os/cosmic-text/tree/main/examples/editor-libcosmic/src
I think this should be closed now that TextEditor got merged?
I agree, thanks a lot for the reminder!