Get/set the raw text to/from a text layout as plain text 更多...
#include <PlainTextLayoutMarshaller.h>
类 FPlainTextLayoutMarshaller 继承关系图:Public 成员函数 | |
| virtual void | GetText (FString &TargetString, const FTextLayout &SourceTextLayout) override |
| Populate the string from the text layout | |
| virtual void | SetText (const FString &SourceString, FTextLayout &TargetTextLayout) override |
| Populate the text layout from the string | |
Public 成员函数 继承自 FBaseTextLayoutMarshaller | |
| virtual void | ClearDirty () override |
| Mark this text layout as clean once it's been updated | |
| virtual bool | IsDirty () const override |
| Is this text layout dirty? (eg, because some settings have changed) If so, you should call SetText on it to update the text layout | |
| virtual void | MakeDirty () override |
| 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 | |
| virtual bool | RequiresLiveUpdate () const override |
| 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 | |
| virtual void | ClearDirty ()=0 |
| Mark this text layout as clean once it's been updated | |
| virtual void | GetText (FString &TargetString, const FTextLayout &SourceTextLayout)=0 |
| Populate the string from the text layout | |
| virtual bool | IsDirty () const =0 |
| Is this text layout dirty? (eg, because some settings have changed) If so, you should call SetText on it to update the text layout | |
| virtual void | MakeDirty ()=0 |
| 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 | |
| virtual bool | RequiresLiveUpdate () const =0 |
| 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 | |
| virtual void | SetText (const FString &SourceString, FTextLayout &TargetTextLayout)=0 |
| Populate the text layout from the string | |
Protected 属性 | |
| TAttribute< bool > | bIsPassword |
| This this marshaller displaying a password? | |
Get/set the raw text to/from a text layout as plain text