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

OnKeyEnd() protected method

Handler for End keyboard event.
protected OnKeyEnd ( bool down ) : bool
down bool Indicates whether the key was pressed or released.
return bool
        protected override bool OnKeyEnd(bool down)
        {
            base.OnKeyEnd(down);
            m_CursorPos = TextLength;

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

            RefreshCursorBounds();
            return true;
        }