public void AddChar(char ch) { CurrentCommand = CurrentCommand.Insert(m_CaretIndex, ch.ToString()); m_CaretIndex++; IsDirty = true; }