Copy and paste in text and textview
Copy and paste in text and textview
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?
- airsoftsoftwair
- Posts: 5446
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
Re: Copy and paste in text and textview
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
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.
Pity the problem is already within MUI as Amiga is still my main interest anyway.
- airsoftsoftwair
- Posts: 5446
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
Re: Copy and paste in text and textview
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
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!
Then you are able to select (part of) the text. After releasing the mousebutton, it will be automatically copied to the clipboard!
- airsoftsoftwair
- Posts: 5446
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
Re: Copy and paste in text and textview
Ok, so this could be added to RapaGUI but it still won't allow copying from Floattext objects...
- airsoftsoftwair
- Posts: 5446
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
Re: Copy and paste in text and textview
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