
Hi there,
I searched for a long time, and could not find a solution on this for SyntaxEditor for WPF.
Here is my problem, I tried to search a text for large file say bigger than 10 MB. It takes us about 2 mins to find the keyword if the keyword is far from the top of the document. and for the same document, the winform one only take a second. I tried to use RegularExpression and Norma search, but make no difference.
I am using ranged-based outliner and using
ActiveView.Searcher.FindNext(ESO);//here eso is EditorSearchOptions
At beginning, I thought it is problem in the outliner, but when I set the Document.Language = SyntaxLanguage.PlainText; the speed does not improve much.
Does anyone have any solution for this?
Thanks
Gordon