protected override bool OnKeyBackspace(bool down) { base.OnKeyBackspace(down); if (!down) return true; if (HasSelection) { EraseSelection(); return true; } if (m_CursorPos == 0) return true; DeleteText(m_CursorPos - 1, 1); return true; }