Example #1
0
        //=====================================================================

        /// <inheritdoc />
        public bool IsSpelledCorrectly(string word)
        {
            foreach (var dictionary in bufferSpecificDictionaries)
            {
                if (dictionary.IsSpelledCorrectly(word))
                {
                    return(true);
                }
            }

            return(globalDictionary.IsSpelledCorrectly(word));
        }
Example #2
0
        //=====================================================================

        /// <summary>
        /// This is used to spell check a word
        /// </summary>
        /// <param name="word">The word to spell check</param>
        /// <returns>True if spelled correctly, false if not</returns>
        public bool IsSpelledCorrectly(string word)
        {
            return(globalDictionary.IsSpelledCorrectly(word));
        }