Hello,
I'm using DocumentTextSearch to search and highlight text in RichTextBox. I'd like searcher igonores case and diacritics. I can provide RegexOptions in DocumentTextSearch constructor to ignore case but I don't how to ignore diacritics. Using CompareInfo class defined in System.Globalization namespace, I can perform text searches on string using CompareOption.IgnoreNonSpace option to ignore diacritics. Is there any way to do the same with DocumentTextSearch?
Thanks
I'm using DocumentTextSearch to search and highlight text in RichTextBox. I'd like searcher igonores case and diacritics. I can provide RegexOptions in DocumentTextSearch constructor to ignore case but I don't how to ignore diacritics. Using CompareInfo class defined in System.Globalization namespace, I can perform text searches on string using CompareOption.IgnoreNonSpace option to ignore diacritics. Is there any way to do the same with DocumentTextSearch?
Thanks