Files
godot/editor/debugger/script_editor_debugger.cpp
Philippe Vaillancourt e046830c50 Tree: Add per-cell autowrap_trim_flags to TreeItem
The Debugger Errors tab previously displayed ASCII art diagnostic output
(like Rust/Elm-style error messages) incorrectly because the Tree widget
hardcoded space trimming flags, causing leading spaces on wrapped lines
to be trimmed and breaking alignment.

This adds a per-cell `autowrap_trim_flags` property to TreeItem, following
the pattern used by Label and RichTextLabel. The debugger errors tab now
disables trim flags and uses the same monospace font as the Output panel,
ensuring proper alignment of structured error messages.
2025-12-24 15:28:15 -05:00

86 KiB