Community
Participate
Working Groups
Build ID: I20070621-1340 Steps To Reproduce: 1. A given text is styled (background color is set, underlined etc.). 2. setTextColor() method is applied using a color. 3. Old styling is lost. More information: I think that losing all styling after using one method to set foreground color is logically wrong and underlying implementation should be changed.
You're right. As you might have noticed this method is not used inside the SDK. Even if the method works correctly it will run into troubles when used in a viewer that uses a presentation reconciler to set the style ranges. We won't work on this unless we get a patch.
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.