UnityEngine.TextEditor.MoveAltCursorToPosition C# (CSharp) Method

MoveAltCursorToPosition() public method

public MoveAltCursorToPosition ( Vector2 cursorPosition ) : void
cursorPosition Vector2
return void
        public void MoveAltCursorToPosition(Vector2 cursorPosition)
        {
            int b = this.style.GetCursorStringIndex(this.position, this.m_Content, cursorPosition + this.scrollOffset);
            this.m_iAltCursorPos = Mathf.Min(this.text.Length, b);
            this.DetectFocusChange();
        }