RapaGUI, Texteditor.SetColor on Android (Bug)
Posted: Thu Apr 25, 2019 11:07 pm
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).
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).