Community
    • Login

    Collapsible block in OCaml

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    collapseblockfeature
    2 Posts 2 Posters 616 Views
    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 SauryT
      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
      • chcgC
        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
        The Community of users of the Notepad++ text editor.
        Powered by NodeBB | Contributors