mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +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:
parent
7864ac8019
commit
5d8fae428e
2 changed files with 29 additions and 1 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue