UDL: Code Folding Help



  • 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!



  • @Christian-Major

    what exactly is the problem?


Log in to reply