WholeWordsOnly

ITextHighlightingOptions.WholeWordsOnly property

Set true to match only whole words, false - otherwise. Read/write Boolean.

public bool WholeWordsOnly { get; set; }

See Also