Enum TextCursorPlacement
Where to place the cursor in the text are of a ISearchView (see SetSearchText(String, TextCursorPlacement)).
Namespace: UnityEditor.Search
Syntax
public enum TextCursorPlacement
Fields
| Name | Description | Value |
|---|---|---|
| None | Do not move the cursor. |
0 |
| Default | Default cursor position (end of the line of text). |
1 |
| MoveLineEnd | Move the cursor at the end of the line of text. |
1 |
| MoveLineStart | Move the cursor at the beginning of the line of text. |
2 |
| MoveToEndOfPreviousWord | Move the cursor the the end of the previous word. |
3 |
| MoveToStartOfNextWord | Move the cursor the the start of the previous word. |
4 |
| MoveWordLeft | Move the cursor one word to the left. |
5 |
| MoveWordRight | Move the cursor one word to the right. |
6 |
| MoveAutoComplete | Move the cursor one word to the right for auto complete mode. |
7 |