Pretty interesting, isn't it? But I would like to reach it in UE. That what I need to know is how to specify the content between two bracket compounds like those by regular expression (I can't accept other way).
I can show by this specification: ( "<{" | "<}" ) content ( "{>" | "}>" )
I have also tried to colour those bracket compounds but its another thing. Thanx for help very MUCH. UE is the most amazing editor I've ever used!
After solution of this I will publish what I need it for .
I would classify it as crazy. However, I have a solution for you. Regular expressions can be used only for funtion string definitions for the function list and not for highlighting strings.
I guess, you use the standard wordfile.txt in the UltraEdit program directory. Open this file and modify the first line for HTML to the following line:
/L3"HTML" HTML_LANG Nocase Noquote Block Comment On = <!-- Block Comment Off = -->Block Comment On Alt = <{ Block Comment Off Alt = >File Extensions = HTM HTML SHTML HTT HTA HTX CFM JSP PHP PHTML ASP
In the next line with the delimiters delete the 2 characters {} or only }.
And last at the end of the block for HTML add following 2 lines:
/C3"Closing }}"
<}}>
Save the wordfile and you can already see the highlighting. Open Configuration - Editor Display - Syntax Highlighting, select Language HTML and specify the style you want for Color Group Alternate Block Comments and Closing }}. I suggest to use the same style for both.
That's not exactly what you want, but the result should be the same.
Best regards from an UC/UE/UES for Windows user from Austria
Thank you for your trial my neighbour but this kind of a solution would make the code between <{ and }> ignored, I think, so it couldn't be processed and folded when I set up Open Fold String "{>" and Close Fold String "<}". Also it would be impossible to sign opposite brackets by setting them as "<{" to "}>" or "{>" to "<}".
So I think I have to satisfy with only the brackets highlighting.