
Hi Actipro,
I am using the ITextSnapshot's GetWordTextRange to get the text range of a certain word. In my context, certain character combinations should be accepted as a single word. For example, "<>" or "!=" should be accepted as single word representing NOT; or ".." representing a range; "<=", ">="; and many others such as "[:=]".
I have seen the DefaultWordBreakFinder has a set of predefined standalone characters. With the current predefiend set, I am not able to get the correct WordTextRange. I am planning to extend the WordStandaloneCharacters in DefaultWordBreakFinder to additionally include my set of delimiters.
Is there a way these can be exteded to hold a string? Or, is there a better way of achieving this?
Thank you.