There's an official word for lines that are in the left margin of code that match an IF with the appropriate ENDIF.
Whatever that is, is there a way to do this with UltraEdit?
Are you talking about preprocessor directives or statements/keywords? In some languages IF - ENDIF are statements/keywords, in other languages these are preprocessor directives.
However, you can use Search - Match Brace to find the matching statement/keyword/directive. You just have to add these 2 words to the list of open and close brace strings in your syntax highlighting wordfile for the language used to highlight your source files.
Open Advanced - Configuration - Editor Display - Syntax Highlighting and press the button Open right to the file name of the syntax highlighting wordfile you currently use, if you don't have open a project with a project specific wordfile. Close the configuration dialog with button Cancel.
Find the line which starts with /Lx"..." with x is a number in the range of 1 ... 20 and "..." is the name of the language you see in the status bar at bottom of the UltraEdit window or in menu View - View As (Highlighting File Type) when one of your source file is the active file.
Between this language definition line and the line starting with /C1 you should see something like following:
pietzcker -
That's exactly what I am looking for. It would be GREAT if UE would have this option with the ability to print.
For very lengthy programs it would be a life-saver.
Considering that UE can help identify matches already, the addition of a line to the left that is printable seems doable...
I'm really surprised that no one has done this yet.
I'm also looking for a way to highlight syntax matches for HTML tags. Folding is useful in some cases but most of the time I just want to see highlighted text
New version 15.10 -
Cool stuff, but disappointment when it comes to IF/THEN (logic) "staples". (see pietzcker above)
I can collapse code, yes. But I can not visually see nested loop lines - I have notches, but they do not indicate which IF matches an ENDIF.
Not only that, but it still doesn't print!!
Please, please consider giving us a more robust logic staples that actually match & print....
It would be really great if folded code could have the option of having the entire line highlighted so that it is not so easy to delete the folded code.