public void Clear() { _buffer.Clear(); _selectionStart = 0; _selectionDirection = 0; _autoComplete = null; }