ITextInputMethodContext::GetSelectionRange

Gets the range of code point indices that are selected and which end of the selection the caret is at.

Windows
MacOS
Linux

References

Module

ApplicationCore

Header

/Engine/Source/Runtime/ApplicationCore/Public/GenericPlatform/ITextInputMethodSystem.h

Include

#include "GenericPlatform/ITextInputMethodSystem.h"

Syntax

void GetSelectionRange
(
    uint32 & OutBeginIndex,
    uint32 & OutLength,
    ECaretPosition & OutCaretPosition
)

Remarks

Gets the range of code point indices that are selected and which end of the selection the caret is at.

Parameters

Parameter

Description

OutBeginIndex

The code point index at the beginning of the selection range.

OutLength

The number of code points selected after the beginning index.

OutCaretPosition

A flag indicating whether the caret is at the beginning or ending of the range. Irrelevant if the Length is zero.

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