Auto highlight folding close in a UDL
-
I created an UDL and have “Folding in code 2 style” with Begin for the Open and End for the close.
It works great and all of the rest UDL is highlighting as expected.
I want to know if there’s a way to highlight the corresponding End when I click on the Begin.
The same way when you click in the opening tag in XML it highlights the closing tag…


-
@Phred-Doolittle said in Auto highlight folding close in a UDL:
I want to know if there’s a way to highlight the corresponding End when I click on the Begin.
Unfortunately, I do not think there is a way to do that. That behavior is controlled by the Settings > Preferences > Highlight Matching Tags feature in combination with the HTML or XML lexer being selected; there isn’t a similar feature in the UDL.
It’s more subtle, but the code-folding does show some highlighting:
inner block:
outer block:
Notice that the red fold lines are red for the active section, and are grey for the inactive section
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