Beispiel #1
0
        /// <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);
 }
        /// <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();
        }
Beispiel #4
0
 /// <summary>
 /// Check spelling
 /// </summary>
 public void CheckSpelling(IWordRange range)
 {
     CheckSpelling(range, null);
 }