Community

    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Collapsible block in OCaml

    Help wanted · · · – – – · · ·
    collapse block feature
    2
    2
    463
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Tom Saury
      Tom Saury last edited by Tom Saury

      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

      1 Reply Last reply Reply Quote 0
      • chcg
        chcg last edited by

        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

        1 Reply Last reply Reply Quote 2
        • First post
          Last post
        Copyright © 2014 NodeBB Forums | Contributors