You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Operating system or device, Godot version, GPU Model and driver (if graphics related):
Windows 10
Godot 3.0 master
Issue description:
If you use append_bbcode(...), any push_* function, or the pop function to manipulate the internal tag stack of RichTextLabel, all of those changes are currently being cleared whenever someone directly edits the bbcode_text property
Steps to reproduce:
Create project with RichTextLabel root node. Add a script to it:
From the documentation:
It is unadvised to use += operator with bbcode_text (e.g. bbcode_text += "some string") as it replaces the whole text and can cause slowdowns. Use append_bbcode for adding text instead.
@theoway Is that an intended design choice though? Or would it make sense for the += operator to execute the same logic as append_bbcode?
It does make sense for the += operator to work as append_bbcode() but the current design doesn't allow that. I don't think there's a use case for that as there's already append_bbcode().
Operating system or device, Godot version, GPU Model and driver (if graphics related):
Windows 10
Godot 3.0 master
Issue description:
If you use
append_bbcode(...)
, anypush_*
function, or thepop
function to manipulate the internal tag stack ofRichTextLabel
, all of those changes are currently being cleared whenever someone directly edits thebbcode_text
propertySteps to reproduce:
Create project with
RichTextLabel
root node. Add a script to it:Run the scene with and without the second line commented and you'll find that the image is missing (removed) when you manipulate
bbcode_text
.The text was updated successfully, but these errors were encountered: