FSyntaxHighlighterTextLayoutMarshaller::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

Windows
MacOS
Linux

Override Hierarchy

ITextLayoutMarshaller::RequiresLiveUpdate()

FBaseTextLayoutMarshaller::RequiresLiveUpdate()

FSyntaxHighlighterTextLayoutMarshaller::RequiresLiveUpdate()

References

Module

Slate

Header

/Engine/Source/Runtime/Slate/Public/Framework/Text/SyntaxHighlighterTextLayoutMarshaller.h

Include

#include "Framework/Text/SyntaxHighlighterTextLayoutMarshaller.h"

Source

/Engine/Source/Runtime/Slate/Private/Framework/Text/SyntaxHighlighterTextLayoutMarshaller.cpp

Syntax

virtual bool RequiresLiveUpdate() const

Remarks

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

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss