SyntaxColors
SyntaxColors
#Overview
name: SyntaxColors
The value of this variable can be defined or overridden in .ini config files. 1
.ini config file referencing this setting variable.
It is referenced in 2
C++ source files.
#Summary
#Setting Variables
#References In INI files
Location: <Workspace>/Engine/Config/BaseEditorPerProjectUserSettings.ini:990, section: [/Script/BlueprintHeaderView.BlueprintHeaderViewSettings]
- INI Section:
/Script/BlueprintHeaderView.BlueprintHeaderViewSettings
- Raw value:
(Comment=(R=0.258183,G=0.539479,B=0.068478,A=1.000000),Error=(R=0.863157,G=0.035601,B=0.035601,A=1.000000),Macro=(R=0.356400,G=0.040915,B=0.520996,A=1.000000),Typename=(R=0.000000,G=0.300000,B=0.300000,A=1.000000),Identifier=(R=1.000000,G=1.000000,B=1.000000,A=1.000000),Keyword=(R=0.019382,G=0.496933,B=1.000000,A=1.000000))
- Is Array:
False
#References in C++ code
#Callsites
This variable is referenced in the following C++ source code:
#Loc: <Workspace>/Engine/Plugins/Editor/BlueprintHeaderView/Source/BlueprintHeaderView/Private/SBlueprintHeaderView.cpp:112
Scope (from outer to inner):
file
function TSharedRef<SWidget> FHeaderViewListItem::GenerateWidgetForItem
Source code excerpt:
{
const UBlueprintHeaderViewSettings* HeaderViewSettings = GetDefault<UBlueprintHeaderViewSettings>();
const FHeaderViewSyntaxColors& SyntaxColors = HeaderViewSettings->SyntaxColors;
return SNew(SBox)
.HAlign(HAlign_Fill)
.Padding(FMargin(4.0f))
[
SNew(SRichTextBlock)
.Text(FText::FromString(RichTextString))
.TextStyle(&FBlueprintHeaderViewModule::HeaderViewTextStyle)
+SRichTextBlock::Decorator(FHeaderViewSyntaxDecorator::Create(HeaderViewSyntaxDecorators::CommentDecorator, SyntaxColors.Comment))
+SRichTextBlock::Decorator(FHeaderViewSyntaxDecorator::Create(HeaderViewSyntaxDecorators::ErrorDecorator, SyntaxColors.Error))
+SRichTextBlock::Decorator(FHeaderViewSyntaxDecorator::Create(HeaderViewSyntaxDecorators::IdentifierDecorator, SyntaxColors.Identifier))
+SRichTextBlock::Decorator(FHeaderViewSyntaxDecorator::Create(HeaderViewSyntaxDecorators::KeywordDecorator, SyntaxColors.Keyword))
+SRichTextBlock::Decorator(FHeaderViewSyntaxDecorator::Create(HeaderViewSyntaxDecorators::MacroDecorator, SyntaxColors.Macro))
+SRichTextBlock::Decorator(FHeaderViewSyntaxDecorator::Create(HeaderViewSyntaxDecorators::TypenameDecorator, SyntaxColors.Typename))
];
}
TSharedPtr<FHeaderViewListItem> FHeaderViewListItem::Create(FString InRawString, FString InRichText)
{
return MakeShareable(new FHeaderViewListItem(MoveTemp(InRawString), MoveTemp(InRichText)));
#Loc: <Workspace>/Engine/Plugins/Editor/BlueprintHeaderView/Source/BlueprintHeaderView/Public/BlueprintHeaderViewSettings.h:70
Scope (from outer to inner):
file
class class UBlueprintHeaderViewSettings : public UDeveloperSettings
Source code excerpt:
/** Syntax Highlighting colors for Blueprint Header View output */
UPROPERTY(config, EditAnywhere, Category="Settings|Style")
FHeaderViewSyntaxColors SyntaxColors;
/** Highlight color for selected items in the Blueprint Header View output */
UPROPERTY(config, EditAnywhere, Category="Settings|Style")
FLinearColor SelectionColor = FLinearColor(0.3f, 0.3f, 1.0f, 1.0f);
/** Font Size for the Blueprint Header View output */