| ITextInputMethodContext
|
Module |
|
Header |
/Engine/Source/Runtime/ApplicationCore/Public/GenericPlatform/ITextInputMethodSystem.h |
Include |
#include "GenericPlatform/ITextInputMethodSystem.h" |
class ITextInputMethodContext
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.
Name | Description | |
---|---|---|
|
~ITextInputMethodContext() |
Name | Description | ||
---|---|---|---|
|
BeginComposition() |
Begins composition. |
|
|
EndComposition() |
Ends composition. May or may not mean the composition was committed. |
|
|
GetCharacterIndexFromPoint ( |
Gets the index of the code point at the point on the screen. |
|
|
GetScreenBounds |
Measures the screen-space bounds of the display area available for text. |
|
|
GetSelectionRange ( |
Gets the range of code point indices that are selected and which end of the selection the caret is at. |
|
|
GetTextBounds |
Measures the screen-space bounds of the text in the specified range of code points. |
|
|
GetTextInRange |
Gets the code points in a range of indices. |
|
|
GetTextLength() |
Returns the number of code points in the text. |
|
|
TSharedPtr< ... |
GetWindow() |
Returns the window in which the text is displayed. |
|
IsComposing() |
Returns whether or not this context is currently composing. |
|
|
IsReadOnly() |
Returns whether or not this text is read-only. |
|
|
SetSelectionRange ( |
Sets the range of code point indices that are selected and which end of the selection the caret is at. |
|
|
SetTextInRange |
Sets the code points in a range of indices. |
|
|
UpdateCompositionRange |
Updates the range of code point indices being composed. |
Name |
Description |
|
---|---|---|
|
ECaretPosition |