Navigation
API > API/Runtime > API/Runtime/Slate > API/Runtime/Slate/Widgets > API/Runtime/Slate/Widgets/Text > API/Runtime/Slate/Widgets/Text/FSlateEditableTextLayout
References
| Module | Slate |
| Header | /Engine/Source/Runtime/Slate/Public/Widgets/Text/SlateEditableTextLayout.h |
| Include | #include "Widgets/Text/SlateEditableTextLayout.h" |
| Source | /Engine/Source/Runtime/Slate/Private/Widgets/Text/SlateEditableTextLayout.cpp |
void ApplyToSelection
&40;
const FRunInfo & InRunInfo,
const FTextBlockStyle & InStyle
&41;
Remarks
Apply the given style to the currently selected text (or insert a new run at the current cursor position if no text is selected)