• Login
Community
  • Login

UDL: Code Folding Help

Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
2 Posts 2 Posters 921 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.
  • C
    Christian Major
    last edited by Apr 10, 2019, 8:40 PM

    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!

    E 1 Reply Last reply Apr 10, 2019, 9:15 PM Reply Quote 0
    • E
      Ekopalypse @Christian Major
      last edited by Apr 10, 2019, 9:15 PM

      @Christian-Major

      what exactly is the problem?

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