When I use Texteditor.SetColor on my Amiga, it works correctly---it inserts the code to change the text to the specified color, and also inserts the code to change back to the original color for the text that follows the selection.
However, when I try the same code on Android, Texteditor.SetColor only inserts the code to change the text color, but does not insert the code to change back to the original color.
The Texteditor class doesn't show this bug at the time Texteditor.SetColor is first used. However, the bug will show itself if the text is saved to a string and reloaded in Texteditor or used in Textview (or if the string is examined).
RapaGUI, Texteditor.SetColor on Android (Bug)
- airsoftsoftwair
- Posts: 5443
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
Re: RapaGUI, Texteditor.SetColor on Android (Bug)
Thanks for the report, will be fixed!
- airsoftsoftwair
- Posts: 5443
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
Re: RapaGUI, Texteditor.SetColor on Android (Bug)
Code: Select all
- Fix [Android]: Texteditor.Text didn't correctly return the escape sequence for resetting the color back
to its default when part of a text was colored