| ITextLayoutMarshaller
|
Module |
|
Header |
/Engine/Source/Runtime/Slate/Public/Framework/Text/SyntaxHighlighterTextLayoutMarshaller.h |
Include |
#include "Framework/Text/SyntaxHighlighterTextLayoutMarshaller.h" |
class FSyntaxHighlighterTextLayoutMarshaller : public FPlainTextLayoutMarshaller
Get/set the raw text to/from a text layout, and also inject syntax highlighting
Name | Description | ||
---|---|---|---|
|
bSyntaxHighlightingEnabled |
True if syntax highlighting is enabled, false to fallback to plain text |
|
|
TSharedPtr< FSy... |
Tokenizer |
Tokenizer used to style the text |
Name | Description | |
---|---|---|
|
FSyntaxHighlighterTextLayoutMarshaller ( |
Name | Description | |
---|---|---|
|
~FSyntaxHighlighterTextLayoutMarshaller() |
Name | Description | ||
---|---|---|---|
|
EnableSyntaxHighlighting ( |
||
|
IsSyntaxHighlightingEnabled() |
||
|
ParseTokens ( |
Name | Description | ||
---|---|---|---|
|
RequiresLiveUpdate() |
Return true if the marshaller requires the text be updated "live" (eg, because it inserts formatting directly into the source text) Returning true will cause SetText to be called every time the source text is changed, which is costly, but required for things like syntax highlighting |
|
|
SetText ( |