Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Source/Runtime/Slate/Public/Widgets/Text/ISlateEditableTextWidget.h |
Include |
#include "Widgets/Text/ISlateEditableTextWidget.h" |
class FMoveCursor
Argument to the ITextEditorWidget::Move(); it decouples performing cursor movement and text highlighting actions from event handling. FMoveCursor describes how the cursor can be moved via keyboard, mouse, and other mechanisms in the future.
No constructors are accessible with public or protected access.
Name | Description | ||
---|---|---|---|
|
Cardinal ( |
Creates a MoveCursor action that describes moving by a single character in any of the cardinal directions. |
|
|
ECursorActio... |
GetAction() |
|
|
float |
GetGeometryScale() |
Geometry Scale at the time of the event that caused this action |
|
ECursorMoveG... |
GetGranularity() |
Move one character at a time, or one word? |
|
GetLocalPosition() |
Which position in the widget where the user touched when using ScreenPosition mode. |
|
|
GetMoveDirection() |
When using directional movement (i.e. Character or Word granularity; not screen position, which way to move.) |
|
|
ECursorMoveM... |
GetMoveMethod() |
|
|
IsHorizontalMovement() |
Is the cursor moving left/right; Only valid for word and character movement methods. |
|
|
IsVerticalMovement() |
Is the cursor moving up/down; Only valid for word and character movement methods. |
|
|
ViaScreenPointer ( |
Creates a MoveCursor action that describes moving the text cursor by selecting an arbitrary coordinate on the screen. |