Flood.GUI.Controls.TextBox.OnKeyHome C# (CSharp) Method

OnKeyHome() protected method

Handler for Home keyboard event.
protected OnKeyHome ( bool down ) : bool
down bool Indicates whether the key was pressed or released.
return bool
        protected override bool OnKeyHome(bool down)
        {
            base.OnKeyHome(down);
            if (!down) return true;
            m_CursorPos = 0;

            if (!Input.InputHandler.IsShiftDown)
            {
                m_CursorEnd = m_CursorPos;
            }

            RefreshCursorBounds();
            return true;
        }