UnityEngine.TextEditor.GetGraphicalLineStart C# (CSharp) Method

GetGraphicalLineStart() private method

private GetGraphicalLineStart ( int p ) : int
p int
return int
        private int GetGraphicalLineStart(int p)
        {
            Vector2 cursorPixelPosition = this.style.GetCursorPixelPosition(this.position, this.m_Content, p);
            cursorPixelPosition.x = 0f;
            return this.style.GetCursorStringIndex(this.position, this.m_Content, cursorPixelPosition);
        }