SMultiLineEditableTextBox::ApplyToSelection

Apply the given style to the currently selected text (or insert a new run at the current cursor position if no text is selected)

Choose your operating system:

Windows

macOS

Linux

References

Module

Slate

Header

/Engine/Source/Runtime/Slate/Public/Widgets/Input/SMultiLineEditableTextBox.h

Include

#include "Widgets/Input/SMultiLineEditableTextBox.h"

Source

/Engine/Source/Runtime/Slate/Private/Widgets/Input/SMultiLineEditableTextBox.cpp

Syntax

void ApplyToSelection
(
    const FRunInfo & InRunInfo,
    const FTextBlockStyle & InStyle
)

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)