Navigation
Unreal Engine C++ API Reference > Runtime > ApplicationCore > GenericPlatform
Inheritance Hierarchy
- ITextInputMethodContext
- FSlateEditableTextLayout::FTextInputMethodContext
References
Module | ApplicationCore |
Header | /Engine/Source/Runtime/ApplicationCore/Public/GenericPlatform/ITextInputMethodSystem.h |
Include | #include "GenericPlatform/ITextInputMethodSystem.h" |
Syntax
class ITextInputMethodContext
Remarks
Editable texts should implement this class and maintain an object of this type after registering it. Methods of this class are called by the system to query contextual information about the state of the editable text. This information is used by the text input method system to provide appropriate processed input. Methods of this class are also called by the system to provide processed text input.
Destructors
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
Functions
Type | Name | Description | |
---|---|---|---|
![]() |
void | Begins composition. | |
![]() |
void | Ends composition. May or may not mean the composition was committed. | |
![]() |
int32 | GetCharacterIndexFromPoint
(
const FVector2D& InPoint |
Gets the index of the code point at the point on the screen. |
![]() |
void | GetScreenBounds
(
FVector2D& OutPosition, |
Measures the screen-space bounds of the display area available for text. |
![]() |
void | GetSelectionRange
(
uint32& OutBeginIndex, |
Gets the range of code point indices that are selected and which end of the selection the caret is at. |
![]() |
bool | GetTextBounds
(
const uint32 InBeginIndex, |
Measures the screen-space bounds of the text in the specified range of code points. |
![]() |
void | GetTextInRange
(
const uint32 InBeginIndex, |
Gets the code points in a range of indices. |
![]() |
uint32 | Returns the number of code points in the text. | |
![]() |
TSharedPtr< FGenericWindow > | GetWindow () |
Returns the window in which the text is displayed. |
![]() |
bool | IsComposing () |
Returns whether or not this context is currently composing. |
![]() |
bool | IsReadOnly () |
Returns whether or not this text is read-only. |
![]() |
void | SetSelectionRange
(
const uint32 InBeginIndex, |
Sets the range of code point indices that are selected and which end of the selection the caret is at. |
![]() |
void | SetTextInRange
(
const uint32 InBeginIndex, |
Sets the code points in a range of indices. |
![]() |
void | UpdateCompositionRange
(
const int32 InBeginIndex, |
Updates the range of code point indices being composed. |
Enums
Type | Name | Description | |
---|---|---|---|
![]() |
ECaretPosition |