FTextCompositionHighlighter

Run highlighter used to draw the composition range

Windows
MacOS
Linux

Inheritance Hierarchy

ILineHighlighter

ISlateLineHighlighter

FTextCompositionHighlighter

References

Module

Slate

Header

/Engine/Source/Runtime/Slate/Public/Widgets/Text/SlateEditableTextTypes.h

Include

#include "Widgets/Text/SlateEditableTextTypes.h"

Syntax

class FTextCompositionHighlighter : public ISlateLineHighlighter

Remarks

Run highlighter used to draw the composition range

Variables

Name Description

Protected variable

TAttribute< con...

 

CompositionBrush

Brush used to draw the composition highlight

Constructors

Functions

Name Description

Public function Static

TSharedRef< ...

 

Create()

Public function

void

 

SetCompositionBrush

(
    const TAttribute< const FSlateBrush...
)

Overridden from ISlateLineHighlighter

Name Description

Public function Virtual Const

int32

 

OnPaint

(
    const FPaintArgs& Args,
    const FTextLayout::FLineView& Line,
    const float OffsetX,
    const float Width,
    const FTextBlockStyle& DefaultStyl...,
    const FGeometry& AllottedGeometry,
    const FSlateRect& MyCullingRect,
    FSlateWindowElementList& OutDrawEl...,
    int32 LayerId,
    const FWidgetStyle& InWidgetStyle,
    bool bParentEnabled
)

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