protected void RefreshForChangeCalled(string errorText, string selectedSug) { RefreshContent(); if (!IsInteractiveMode) { m_curVerifData.RangeToHighlight.Invalidate(); var verifInstance = new VerificationInstance(m_rawContent, m_curVerifData.ErrorIndex, m_curVerifData.ErrorLength, selectedSug); if (m_batchHistory.Contains(verifInstance)) { VerificationWindowBatchMode.CurrentStatus = "(تشخیص حلقه)"; m_isLoopDetected = true; } else { m_batchHistory.Add(verifInstance); } } }
public ErrorItem(VerificationInstance error, string text) { Error = error; m_misspelledWord = text.Substring(Error.Index, Error.Length); }