@noahm26
I don’t have an example to give you because it was just an experiment and gave up the idea… It’s not just that it’s missing the copy/paste but also you can’t move the cursor on the text, and more importantly, is a mess with the iOS text autocompletion.
What I was doing was getting the text input from a hidden native single line textfield, then updating a multi-line output text from the textfield event listener.
It’s not documented, but the input textfield listener, besides the “began”, “submitted” and “ended” phases, has also a “editing” phase, with some additional values like:
“numDeleted” (if you deleted a char it gives the position)
“startPosition”
“text” (the text of the textfield
“oldText” (text before editing)
“newCharacters” the last character you have pressed on the keyboard
So, on phase “began” I cleared the output textbox, then I updated it from the listener with the “editing” phase, using newCharacters, text and oldText to mirror the contents.
But as I told you, there are tons of problems, I gave up because it was just too complex to manage correctly… probably is easier/faster to create your custom keyboard and build a multi-line text input, but still… takes a lot of time and probably it’s going to look weird…
IMO, the lack of a multi-line input text is probably the worst fault of Corona…
Update: Another solution, you could use a webview and html elements (there are some examples on how to communicate between Corona and webview contents), but again, the webview has also many problems (gray loading screen and stuff like that…) [import]uid: 9158 topic_id: 12097 reply_id: 44135[/import]