FTextSearchHighlighter

Run highlighter used to draw search ranges

Windows
MacOS
Linux

Inheritance Hierarchy

ILineHighlighter

ISlateLineHighlighter

FTextSearchHighlighter

References

Module

Slate

Header

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

Include

#include "Widgets/Text/SlateEditableTextTypes.h"

Syntax

class FTextSearchHighlighter : public ISlateLineHighlighter

Remarks

Run highlighter used to draw search ranges

Variables

Name Description

Protected variable

bool

 

bHasKeyboardFocus

True if the parent widget has keyboard focus, false otherwise

Constructors

Name Description

Protected function

FTextSearchHighlighter()

Functions

Name Description

Public function Static

TSharedRef< ...

 

Create()

Public function

void

 

SetHasKeyboardFocus

(
    const bool bInHasKeyboardFocus
)

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