1
0
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:
Anthony Carr
2025-09-27 11:10:41 -05:00
parent 7864ac8019
commit 5d8fae428e
2 changed files with 29 additions and 1 deletions

View File

@@ -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;