• Login
Community
  • Login

Collapsible block in OCaml

Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
collapseblockfeature
2 Posts 2 Posters 624 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.
  • T
    Tom Saury
    last edited by Tom Saury Oct 26, 2018, 9:13 AM Oct 26, 2018, 9:12 AM

    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
    • C
      chcg
      last edited by Oct 26, 2018, 4:40 PM

      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
      1 out of 2
      • First post
        1/2
        Last post
      The Community of users of the Notepad++ text editor.
      Powered by NodeBB | Contributors