Text
NextGroup Method of the Text Object
This method returns the index of the next character in the text, which has the selected parameters different from such parameters of the character specified.
For example, if you set the value of the Mask parameter to CFL_Suspicious (which means that the ICharParams::IsSuspicious property should be taken into account) and the character with the Pos index is not suspicious, the method will return the index of the next suspicious character, and vice versa if the character with the Pos index is suspicious, the method will return the index of the next character, which is not suspicious.
