public void ChangeWord(string newWord) { if (_currentSpellCheckWord.Text == newWord) return; PushUndo(string.Format("{0}: {1}", Configuration.Settings.Language.SpellCheck.Change, _currentWord + " > " + newWord), SpellCheckAction.Change, newWord); _spellChecker.CorrectWord(newWord, _currentParagraph, _currentSpellCheckWord.Text, _currentSpellCheckWord.Index); _noOfChangedWords++; PrepareNextWord(); }