Also, for the console command text box, there is now a tooltip for the command currently being typed (if it's valid), which also displays the current value for CVars (to avoid typing the variable without parameter, switch to the log window to peak at the current value and back to the console command to enter a new value)
Also added tooltips forcefields for both the edit text box and the suggestion list view
#jira none
#rb Josh.Adams
[CL 35825261 by jonathan bard in ue5-main branch]
* Add shift modifier to skip setting the All Categories filter of the OutputLog
#rb logan.buchy
#jira UE-213468
[CL 33500475 by Tonetfal in ue5-main branch]
FOutputLogFilter::IsMessageAllowed no longer includes the state of the "Show All" checkbox (bShowAllCategories) in the filtering logic; this restores the filtering logic wrt "Show All" to as it was prior to changelist 25554621 ( it preserves the addition of IgnoreFilterVerbosities from 25554621 ).
FOutputLogTextLayoutMarshaller::GetCategoryForLocation now extracts the category from the TextLayout. The previous implementation was broken in the case of any applied filters because it was based on the unfiltered Messages array.
#jira UE-198158
#rb brooke.hubert, logan.buchy
[CL 33370898 by ross smith2 in ue5-main branch]
The use case for this is implementing a plugin that displays warning and error counts on the status bar - we would like to reset the counters when the Output Log is cleared.
NOTE: This is a resubmit of a fairly old CL that got backed out due to issues with compiling on clang. I have altered the problematic code to make it compile.
#rb sebastian.arleryd, aditya.ravichandran
#jira none
Note: The PF is actually to make submit tool work but actually its 6622a95a37485b66bb46449f, submit tool is failing because its from a different stream.
#ushell-cherrypick of 32932719 by gabriel.wreczycki
[CL 33109990 by ben hoffman in ue5-main branch]
#fyi ben.hoffman
Original CL Desc
-----------------------------------------------------------------
Editor | Make it possible to listen when the Status Bar Output Log is cleared
The use case for this is implementing a plugin that displays warning and error counts on the status bar - we would like to reset the counters when the Output Log is cleared.
#rb sebastian.arleryd
#ushell-cherrypick of 28707029 by gabriel.wreczycki
[CL 28823870 by ben hoffman in ue5-main branch]
The use case for this is implementing a plugin that displays warning and error counts on the status bar - we would like to reset the counters when the Output Log is cleared.
#rb sebastian.arleryd
#ushell-cherrypick of 28707029 by gabriel.wreczycki
[CL 28802239 by ben hoffman in ue5-main branch]
* Closed the suggestion box when using the keyboard shortcut (tilde key, usually) to switch between status bar console input to output log console input
* Auto-adjusted the editable text box size so that we better see the content for long console commands
#rb sebastian.arleryd
#preflight 647715d80848b7126daffd3f
[CL 25700377 by jonathan bard in ue5-main branch]
It was the initial bug, but while looking at it, I noticed that the MultilineEditableTextBox was containing both a Font via FEditableTextBoxStyle, and another one via FTextBlockStyle, thus being error prone / inconsistent.
In order to fix the underlying issue (in addition to fix the initial bug), I removed the Font from FEditableTextBoxStyle, and moved the FTextBlockStyle from MultilineEditableTextBox to FEditableTextBoxStyle.
It solves the duplication issue and so make it clear where the Font should be set/read from.
However, as the text block style is now embedded in the editable text box style, it cannot be initialized the exact same way, and I had to do some changes to ensure there was no regression, by configuring various FEditableTextBoxStyle in some style files. I also change the default value for TextBlockStyle to better match our default theme.
-Default font is not set for text widgets.
EditableWidget: ensure to have a default font, and to set the style when calling SynchronizeProperties to ensure it reacts directly without having to force a refresh (by moving the widget for instance)
Bonus:
-Move to cpp some private methods that where 'forced' inline (and we were using function pointer on them). It will avoid some noise in public interface and speed up iteration / compile time when playing with them.
#jira UE-96464
#jira UE-137126
[RN] MultilineEditableTextBox was containing both a Font via FEditableTextBoxStyle, and another one via FTextBlockStyle, thus being error prone / inconsistent.The Font from FEditableTextBoxStyle has been removed, and the FTextBlockStyle moved from MultilineEditableTextBox to FEditableTextBoxStyle. It solves the duplication issue and so make it clear where the Font should be set/read from.
However, as the FTextBlockStyle is now embedded in the FEditableTextBoxStyle, it cannot be initialized the exact same way, and you can now configure the FTextBlockStyle of FEditableTextBoxStyle when creating one from scratch, by calling SetTextStyle on it.
Test
- created a Widget blueprint with different editable types combination: multiline or single line, box or no box.
-Validated that everything was reacting live as expected now.
-Created a blue print to set the text style and validated it was working.
-Create data with old version, then open it with updated version to validate that the visual was still the same and deprecation of style working as expected.
-checked different places in the editor using variation of editable text to ensure they were behaving as before (detail view, console command entry, comment on blueprint node).
#preflight 63344b9f110bb3721ef8aa77
[CL 22232366 by yohann dossantos in ue5-main branch]