Community
    • Login

    Auto highlight folding close in a UDL

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    2 Posts 2 Posters 275 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.
    • Phred DoolittleP
      Phred Doolittle
      last edited by

      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…
      9fffeb59-c9cd-4a9f-8084-61c426b033b6-image.png

      323582ee-f841-4196-95a4-3c5fda066474-image.png

      PeterJonesP 1 Reply Last reply Reply Quote 0
      • PeterJonesP
        PeterJones @Phred Doolittle
        last edited by

        @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: 15789a45-a42e-4912-b3cb-132ee32dfede-image.png
        outer block: 102984f4-91d9-4d1f-a1a3-d17a7d907dbe-image.png
        Notice that the red fold lines are red for the active section, and are grey for the inactive section

        1 Reply Last reply Reply Quote 2
        • First post
          Last post
        The Community of users of the Notepad++ text editor.
        Powered by NodeBB | Contributors