Page 1 of 1

Folding in Scilexer control

Posted: 28 Feb 2024 12:49
by sbishop61
When I open files from the built Editor example, there is no folding of known extensions e.g. .cpp, *.js etc. When I open the same files in SciTE.exe there is folding.

Have I missed an option in the Editor project or does the control not support folding?

Regards,
Stephen

Re: Folding in Scilexer control

Posted: 29 Feb 2024 12:59
by Thomas Linder Puls
The control itself do clearly supports it as you state.

But I have never considered how it works. Most likely because I am not a big fan of folding. I think the effort of folding is too high compared to the benefit. Furthermore, I think the visualization in the scintilla editor is really awful (with a lot of horizontal line that cuts your document into slices, as if the slicing has some meaning).

I guess there is a way so enable it in the demo, but I don't know how.