Community
    • Login

    UDL folding single line if

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    udl folding
    1 Posts 1 Posters 689 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.
    • David BrigdenD Offline
      David Brigden
      last edited by

      I work in a language that is syntactically similar to visual basic. I’ve created my own UDL for it too handle unique commands and built-in functions and to get the benefits of folding. I want to be able to fold when I have a multi-line block in an if statement. The problem is that there are two allowable ways to write an if statement

      If value=1 then msgbox “true”
      Or
      *If value=1 then
      Value =2
      msgbox “true”
      End If"

      Is there a way to define folding so that when I have a multi-line line if block I can fold, but that UDL doesn’t attempt to fold a single-line if?

      1 Reply Last reply Reply Quote 0

      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