protected override void OnTextChanged()
{
base.OnTextChanged();
if (m_CursorPos > TextLength) m_CursorPos = TextLength;
if (m_CursorEnd > TextLength) m_CursorEnd = TextLength;
if (TextChanged != null)
TextChanged.Invoke(this);
}