Discussions related to Visual Prolog
sbishop61
Posts: 13
Joined: 9 May 2021 9:55

Folding in Scilexer control

Unread post 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
User avatar
Thomas Linder Puls
VIP Member
Posts: 1401
Joined: 28 Feb 2000 0:01

Re: Folding in Scilexer control

Unread post 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.
Regards Thomas Linder Puls
PDC
Post Reply