[]
        
(Showing Draft Content)

C1.WPF.SpellChecker.ISpellParser.GetNextWord

GetNextWord Method

GetNextWord(string, int, IgnoreOptions, string)

Method that retrieves the next word to spell-check in a string.

Declaration
CharRange GetNextWord(string text, int start, IgnoreOptions ignore, string previousWord)
Parameters
Type Name Description
string text

String that contains the text being spell-checked.

int start

Position being checked within the text string.

IgnoreOptions ignore

IgnoreOptions that specifies types of words that should be ignored.

string previousWord

Last word retrieved by the parser (used to detect duplicates).

Returns
Type Description
CharRange

A CharRange object that represents the next word to be spell-checked, or null if all the text has been spell-checked.