将光标移动到文本行的开头。
[MenuItem("Examples/ISearchView/SetSearchText_WithCursorPosition")] public static void SetSearchText_WithCursorPosition() { var view = SearchService.ShowContextual("asset"); view.SetSearchText("t:material", TextCursorPlacement.MoveLineStart); }