UDL folding single line if

  • 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”
    *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?

Log in to reply