Module |
|
Header |
/Engine/Source/Runtime/Slate/Public/Framework/Text/BaseTextLayoutMarshaller.h |
Include |
#include "Framework/Text/BaseTextLayoutMarshaller.h" |
class FBaseTextLayoutMarshaller : public ITextLayoutMarshaller
Base class implementing some common functionality for all text marshallers
Name | Description | |
---|---|---|
|
FBaseTextLayoutMarshaller() |
Name | Description | |
---|---|---|
|
~FBaseTextLayoutMarshaller() |
Name | Description | ||
---|---|---|---|
|
ClearDirty() |
Mark this text layout as clean once it's been updated |
|
|
IsDirty() |
Is this text layout dirty? (eg, because some settings have changed) If so, you should call SetText on it to update the text layout |
|
|
MakeDirty() |
Mark this text layout as dirty (eg, because some settings have changed), so that it will cause SetText to be called on the next Tick |
|
|
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 |