Page 1 of 1

Copy and paste in text and textview

Posted: Fri Mar 01, 2019 9:49 am
by zylesea
i don't know whether I understood how copy and paste on RapaGUI works in general - but how to enable/allow copy and paste from text or textview?

Re: Copy and paste in text and textview

Posted: Fri Mar 01, 2019 9:28 pm
by airsoftsoftwair
Paste is out of question here because RapaGUI's Text and TextView classes aren't editable so paste is not going to work. Copy is another thing. It isn't supported for Text and TextView on Android at the moment but the problem's root is actually MUI because Floattext.mcc doesn't support copying RapaGUI doesn't support it either. On Windows, however, it is supported so maybe it should be supported on Android too but I'd also have to check Linux and macOS because I'm not sure if it's working on those platforms at the moment... so maybe Windows is currently the exception and the other ones are the rule ;)

Re: Copy and paste in text and textview

Posted: Sat Mar 02, 2019 12:05 am
by zylesea
I see. And of course I meant copy only - just used too much to the fixed term "copy and paste", hence...
Pity the problem is already within MUI as Amiga is still my main interest anyway.

Re: Copy and paste in text and textview

Posted: Fri Jul 17, 2020 9:48 pm
by airsoftsoftwair
zylesea wrote: Sat Mar 02, 2019 12:05 am I see. And of course I meant copy only - just used too much to the fixed term "copy and paste", hence...
Pity the problem is already within MUI as Amiga is still my main interest anyway.
Of course you can always file MUI feature requests.

For OS3/OS4 MUI: http://muidev.de
For MorphOS: http://morph.zone

Text.mui and Floattext.mui are the classes that would have to support this.

Re: Copy and paste in text and textview

Posted: Sat Jul 18, 2020 3:00 pm
by bitRocky
For Text.mui objects you can set MUIA_Text_Marking to TRUE when creating the Textobject.
Then you are able to select (part of) the text. After releasing the mousebutton, it will be automatically copied to the clipboard!

Re: Copy and paste in text and textview

Posted: Sun Jul 19, 2020 10:22 pm
by airsoftsoftwair
bitRocky wrote: Sat Jul 18, 2020 3:00 pm For Text.mui objects you can set MUIA_Text_Marking to TRUE when creating the Textobject.
Then you are able to select (part of) the text. After releasing the mousebutton, it will be automatically copied to the clipboard!
Ok, so this could be added to RapaGUI but it still won't allow copying from Floattext objects...

Re: Copy and paste in text and textview

Posted: Sun Aug 02, 2020 6:38 pm
by airsoftsoftwair

Code: Select all

- New [Amiga]: When Text.Frame is set to TRUE, the text inside the text object will be markable; note that this requires MUI 4.0