Community
    • Login

    UDL: Code Folding Help

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    2 Posts 2 Posters 928 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.
    • Christian MajorC
      Christian Major
      last edited by

      Hello! Fairly new to using Notepad++ and have been toying with UDL. I am attempting to create a UDL for a legacy language “Monk”. The language is similar to LISP. I cannot figure out how to get the code folding to work correctly, but I feel that the code folding used for LISP is very close to what I want. Is there a way to mimic that for my Monk UDL? If not, perhaps someone can determine how I can do it manually? Example syntax of Monk below; it’s heavy on parentheses!

         (do ((x 0 (+ x 1))) ((>= x FacilityCount))
           (if (empty-string? (vector-ref Facilities intFacilityNdx))
            (begin
             (set! intFacilityNdx (+ intFacilityNdx 1))
            )
            (begin
             (set! intFacilityNdx (+ intFacilityNdx 1))
             (set! WriteMessageCount (+ WriteMessageCount 1))
            )
           )
          )
          (comment "List of facilies is built, send a message for each facility in the list" "
      

      ")

      Thanks for any help on this!

      EkopalypseE 1 Reply Last reply Reply Quote 0
      • EkopalypseE
        Ekopalypse @Christian Major
        last edited by

        @Christian-Major

        what exactly is the problem?

        1 Reply Last reply Reply Quote 3
        • First post
          Last post
        The Community of users of the Notepad++ text editor.
        Powered by NodeBB | Contributors