Community
    • Login

    UDL: Code Folding Help

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

        @Christian-Major

        what exactly is the problem?

        1 Reply Last reply Reply Quote 3

        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