Navigation
API > API/Runtime > API/Runtime/Slate > API/Runtime/Slate/Widgets > API/Runtime/Slate/Widgets/Text > API/Runtime/Slate/Widgets/Text/FSlateEditableTextLayout
References
| Module | Slate |
| Header | /Engine/Source/Runtime/Slate/Public/Widgets/Text/SlateEditableTextLayout.h |
| Include | #include "Widgets/Text/SlateEditableTextLayout.h" |
| Source | /Engine/Source/Runtime/Slate/Private/Widgets/Text/SlateEditableTextLayout.cpp |
void TranslateLocationVertical
&40;
const FTextLocation & Location,
int32 NumLinesToMove,
float GeometryScale,
FTextLocation & OutCursorPosition,
TOptional< SlateEditableTextTypes::ECursorAlignment > & OutCursorAlignment
&41; const
Remarks
Given a location and a Direction to offset, return a new location.
Parameters
| Name | Description |
|---|---|
| Location | Cursor location from which to offset |
| NumLinesToMove | Number of lines to move in a given direction. Positive means down, negative means up. |
| GeometryScale | Geometry DPI scale at which the widget is being rendered |
| OutCursorPosition | Fill with the updated cursor position. |
| OutCursorAlignment | Optionally fill with a new cursor alignment (will be auto-calculated if not set). |