Community
    • Login

    UDL folding single line if

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    udl folding
    1 Posts 1 Posters 538 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.
    • David BrigdenD
      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
      • First post
        Last post
      The Community of users of the Notepad++ text editor.
      Powered by NodeBB | Contributors