/// <summary> /// Check spelling /// </summary> /// <param name="range">word range to check</param> /// <param name="contextDictionaryLocation">directory where the /// spell checker can write a context-bound dictionary (null to not /// use a context-dictionary)</param> public void CheckSpelling(IWordRange range, string contextDictionaryLocation) { // save reference to word-range wordRange = range; // initialize flags completed = false; wordRangeHighlightPending = false; // enter the spell-checking loop (if there are no mispelled words // then the form will never show) ContinueSpellCheck(); }
/// <summary> /// Check spelling /// </summary> public void CheckSpelling(IWordRange range) { CheckSpelling(range, null); }