Page 1 of 1

RapaGUI, Texteditor.SetColor on Android (Bug)

Posted: Thu Apr 25, 2019 11:07 pm
by PEB
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).

Re: RapaGUI, Texteditor.SetColor on Android (Bug)

Posted: Tue Apr 30, 2019 9:01 pm
by airsoftsoftwair
Thanks for the report, will be fixed!

Re: RapaGUI, Texteditor.SetColor on Android (Bug)

Posted: Fri Jul 17, 2020 9:42 pm
by airsoftsoftwair

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