When applying a color to a "<d ref=""/> tag in the Text Editor, the editor incorrectly adds the </c> closing tag BEFORE the "<d ref=""/> tag, not after.
In addition, the text editor will delete this newly added text.
This bug has multiple parts. To reproduce all parts of the bug:
Open the Text Editor.
Select a button tooltip.
At the Text Entry box, disable "Display as raw text".
Enter this as a new line in the Text Entry box: "<d ref="Behavior,SupplyDrop,Modification.Food"/>".
Select the previously entered line ("<d ref="Behavior,SupplyDrop,Modification.Food"/>").
Add a color to this text. (Click the box next to Color, select green, then apply it to the text)
Note how the color does NOT show up in the Text Preview window - the color is bugged.
Enable "Display as raw text". You can see the </c> tag is in the wrong place.
Manually move the </c> tag to its correct location:
"<c val="00FF00"><d ref="Behavior,SupplyDrop,Modification.Food"/></c>"
Disable "Display as raw text", then turn it back on. Note the </c> has moved, and the color is now bugged.
Disable "Display as raw text", then turn it back on again. The color tag has now disappeared completely.
There is a workaround to this bug:
Enable "Display as raw text"
Manually add the color tag: "<c val="00FF00"><d ref="Behavior,SupplyDrop,Modification.Food"/></c>"
Note the color correctly appears in the Text Preview. You can press Ctrl+F9 to test the document and verify the color appears correctly. However, if you ever disable "display as raw text", all your color tags in the currently selected text entry will bug out. The color applier below the text entry box cannot be used.
When applying a color to a "<d ref=""/> tag in the Text Editor, the editor incorrectly adds the </c> closing tag BEFORE the "<d ref=""/> tag, not after.
In addition, the text editor will delete this newly added text.
This bug has multiple parts. To reproduce all parts of the bug:
"<c val="00FF00"><d ref="Behavior,SupplyDrop,Modification.Food"/></c>"
There is a workaround to this bug:
Note the color correctly appears in the Text Preview. You can press Ctrl+F9 to test the document and verify the color appears correctly. However, if you ever disable "display as raw text", all your color tags in the currently selected text entry will bug out. The color applier below the text entry box cannot be used.