You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Fix editor log search ignoring BBCode formatting in messages
When searching in the editor output log, messages with BBCode formatting (like [color=red]text[/color]) would not be found when searching for the plain text content. For example, searching for "Example is" in a message "[color=blue]EXAMPLE[/color] is super cool" would fail to find the match.
This commit is contained in:
@@ -140,6 +140,9 @@ private:
|
||||
Button *show_search_button = nullptr;
|
||||
LineEdit *search_box = nullptr;
|
||||
|
||||
// Reusable RichTextLabel for BBCode parsing during search
|
||||
RichTextLabel *bbcode_parser = nullptr;
|
||||
|
||||
// Reference to the "Output" button on the toolbar so we can update its icon when warnings or errors are encountered.
|
||||
Button *tool_button = nullptr;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user