Collapsible block in OCaml
-
Hello everyone !
I’m searching a way to implement collapsible block in OCaml like in C or in Java. What do I have to do ?
I already Googled it and search in the NPP community and found nothing so I’m asking.
That’d be really helpful for big programs with more than 10 functions.
Thanks -
Lexer is part of Scinttilla component, see https://github.com/notepad-plus-plus/notepad-plus-plus/blob/master/scintilla/lexers/LexCaml.cxx. Seems code folding is not yet there. You could read https://www.scintilla.org/Lexer.txt or https://bitbucket.org/StarFire/scintilla-doc/downloads/Scintilla-var’aq-Tutorial.pdf, taken from https://www.scintilla.org/ScintillaDoc.html