1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-11 13:10:58 +00:00

Fix highlighting warning and error issues related to Godot editor.

Fix Issue #104413 : Add a limit of 20 lines of warning highlight otherwise paint the background of the first line only.
Fix Issue #106278 : Extract the logic from clearing and setting background lines from _update_errors() and _update_warnings() to _update_background_text().
Fix Issue #83979 : Added signal for folding/unfolding lines (fold_lines_updated).
Feature: Highlight the folded line using signals connected to _update_background_text() to keep the editor visuals up to date. The background is set in the following priority order: Error, Warning, then Highlight background.
This commit is contained in:
Jorge Korgut Junior
2025-05-20 10:03:39 +02:00
parent 428a762e98
commit 77e6d92357
5 changed files with 109 additions and 39 deletions

View File

@@ -211,6 +211,7 @@ protected:
String _picker_color_stringify(const Color &p_color, COLOR_MODE p_mode);
void _picker_color_changed(const Color &p_color);
void _update_color_constructor_options();
void _update_background_color();
void _update_color_text();
void _notification(int p_what);