RapaGUI, Texteditor.SetColor on Android (Bug)

Report any Hollywood bugs here
Post Reply
PEB
Posts: 567
Joined: Sun Feb 21, 2010 1:28 am

RapaGUI, Texteditor.SetColor on Android (Bug)

Post 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).
User avatar
airsoftsoftwair
Posts: 5433
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

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

Post by airsoftsoftwair »

Thanks for the report, will be fixed!
User avatar
airsoftsoftwair
Posts: 5433
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

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

Post 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 
Post Reply