Community
    • Login

    Collapsible block in OCaml

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    collapseblockfeature
    2 Posts 2 Posters 829 Views 1 Watching
    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 Offline
      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 Offline
        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

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        • First post
          Last post
        The Community of users of the Notepad++ text editor.
        Powered by NodeBB | Contributors