MoveLineStart
Move the cursor to the beginning of the line of text.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
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);}