MoveLineStart
Move the cursor to the beginning of the line of text.
Read time 1 minuteLast updated 13 days ago
Definition
- Type: Field
- Namespace: UnityEditor.Search
- Assembly: UnityEditor
MoveLineStart = 2
Examples
[MenuItem("Examples/ISearchView/SetSearchText_WithCursorPosition")]public static void SetSearchText_WithCursorPosition(){ var view = SearchService.ShowContextual("asset"); view.SetSearchText("t:material", TextCursorPlacement.MoveLineStart);}