Hi,
Using a bog standard syncfusion editor and loading the attached text file, gives the collapse/expand buttons in the editor, but it takes ages to collapse.
Amending the text file such that there are new linees between the tags, and collapses quickly.
But for business reasons i really need to load the file as is.
I tried applying
editControl1.ApplyConfiguration(Syncfusion.Windows.Forms.Edit.Enums.KnownLanguages.XML);
editControl1.ShowOutliningCollapsers = true;
but that just caused the collapse/expand icons to disappear.
As a side test i tested the text file by adding a if block around the whole text, and then setting config to use Enums.KnownLanguages.CSharp
and it worked alot faster.
So the problem looks like its a combination of having no new lines and the incorrect config file loaded.
Any help is greatly appreciated.
ViN.
test.zip