Matching tags (highlighting DIV & /DIV )

  • Advertisement ( why? )
     

    aqk, 9th Feb 2012 6:57 am

    I have a file now with a large number of nested DIVs.
    Somewhere, I have lost track of which DIV matches which /DIV.

    Is there any tool that will hilight matching tags like this?
    Preferably in different colors for each nested tag.

    • HTML-Kit Support, 9th Feb 2012 7:25 am

      Hi,

      On 2/9/2012 6:57 AM, aqk wrote:

      I have a file now with a large number of nested DIVs.
      Somewhere, I have lost track of which DIV matches which /DIV.

      Is there any tool that will hilight matching tags like this?
      Preferably in different colors for each nested tag.

      If you press Ctrl+T followed by Ctrl+M (or hold down Ctrl and press T
      followed by M), HTML-Kit Tools will highlight matching DIVs and other
      tags. It doesn't change the color based on nesting level, but please
      feel free to add this to "Help > Feedback > Requests."

      Regards,
      Chami

      • bill, 11th Feb 2012 8:18 am

        On 2/9/2012 8:25 AM, HTML-Kit Support wrote:

        Hi,

        On 2/9/2012 6:57 AM, aqk wrote:

        I have a file now with a large number of nested DIVs.
        Somewhere, I have lost track of which DIV matches which /DIV.

        Is there any tool that will hilight matching tags like this?
        Preferably in different colors for each nested tag.

        If you press Ctrl+T followed by Ctrl+M (or hold down Ctrl and
        press T followed by M), HTML-Kit Tools will highlight matching
        DIVs and other tags. It doesn't change the color based on nesting
        level, but please feel free to add this to "Help > Feedback >
        Requests."

        Regards,
        Chami

        Note: first you need to highlight the tag you want matched,
        ctrl-T,M will then match that tag only. Still a lot of help.

        bill

        • HTML-Kit Support, 11th Feb 2012 9:17 am

          On 2/11/2012 8:18 AM, bill wrote:

          On 2/9/2012 8:25 AM, HTML-Kit Support wrote:

          Hi,

          On 2/9/2012 6:57 AM, aqk wrote:

          I have a file now with a large number of nested DIVs. Somewhere,
          I have lost track of which DIV matches which /DIV.

          Is there any tool that will hilight matching tags like this?
          Preferably in different colors for each nested tag.

          If you press Ctrl+T followed by Ctrl+M (or hold down Ctrl and press
          T followed by M), HTML-Kit Tools will highlight matching DIVs and
          other tags. It doesn't change the color based on nesting level, but
          please feel free to add this to "Help > Feedback > Requests."

          Regards,
          Chami

          Note: first you need to highlight the tag you want matched, ctrl-T,M
          will then match that tag only. Still a lot of help.

          bill

          As long as the caret is inside a tag that you want to match, you don't
          have to highlight it first. Just Ctrl+T,M will do.

          Chami

          • bill, 12th Feb 2012 6:28 am

            On 2/11/2012 10:17 AM, HTML-Kit Support wrote:

            On 2/11/2012 8:18 AM, bill wrote:

            On 2/9/2012 8:25 AM, HTML-Kit Support wrote:

            Hi,

            On 2/9/2012 6:57 AM, aqk wrote:

            I have a file now with a large number of nested DIVs. Somewhere,
            I have lost track of which DIV matches which /DIV.

            Is there any tool that will hilight matching tags like this?
            Preferably in different colors for each nested tag.

            If you press Ctrl+T followed by Ctrl+M (or hold down Ctrl and
            press
            T followed by M), HTML-Kit Tools will highlight matching DIVs and
            other tags. It doesn't change the color based on nesting
            level, but
            please feel free to add this to "Help > Feedback > Requests."

            Regards,
            Chami

            Note: first you need to highlight the tag you want matched,
            ctrl-T,M
            will then match that tag only. Still a lot of help.

            bill

            As long as the caret is inside a tag that you want to match, you
            don't have to highlight it first. Just Ctrl+T,M will do.

            Chami

            my apologies

            bill

            • HTML-Kit Support, 12th Feb 2012 8:22 am

              On 2/12/2012 6:28 AM, bill wrote:

              On 2/11/2012 10:17 AM, HTML-Kit Support wrote:

              On 2/11/2012 8:18 AM, bill wrote:

              On 2/9/2012 8:25 AM, HTML-Kit Support wrote:

              Hi,

              On 2/9/2012 6:57 AM, aqk wrote:

              I have a file now with a large number of nested DIVs.
              Somewhere, I have lost track of which DIV matches which
              /DIV.

              Is there any tool that will hilight matching tags like this?
              Preferably in different colors for each nested tag.

              If you press Ctrl+T followed by Ctrl+M (or hold down Ctrl and
              press T followed by M), HTML-Kit Tools will highlight matching
              DIVs and other tags. It doesn't change the color based on
              nesting level, but please feel free to add this to "Help >
              Feedback > Requests."

              Regards,
              Chami

              Note: first you need to highlight the tag you want matched,
              ctrl-T,M will then match that tag only. Still a lot of help.

              bill

              As long as the caret is inside a tag that you want to match, you
              don't have to highlight it first. Just Ctrl+T,M will do.

              Chami

              my apologies

              bill

              Not at all, Bill, just wanted to clarify :)

              Chami

      • LWill, 11th Jul 2012 12:14 pm

        I find that very often Ctrl-T,Ctrl-M does not work to find matching tags. Neither does the menu option "Tools>Tags>Go to matching tag".

        It works sometimes, but I cannot see a pattern in the problem. The only thing that seems relevant is that it works most often when there are few other tags between the start tag and the sought end tag, but this does not seem consistent.

        After pressing Ctrl-T,Ctrl-M the cursor stays on the start tag but no highlighting occurs apart from the pale pink highlight of the complete line which occurs on any line the cursor happens to be on.

        Has anyone else encountered this? I am running Tools version 20120605 under Windows XP SP 3.

        • HTML-Kit Support, 12th Jul 2012 1:34 am

          On 7/11/2012 12:14 PM, LWill wrote:

          I find that very often Ctrl-T,Ctrl-M does not work to find matching
          tags. Neither does the menu option "Tools>Tags>Go to matching tag".

          It works sometimes, but I cannot see a pattern in the problem. The
          only thing that seems relevant is that it works most often when there
          are few other tags between the start tag and the sought end tag, but
          this does not seem consistent.

          After pressing Ctrl-T,Ctrl-M the cursor stays on the start tag but no
          highlighting occurs apart from the pale pink highlight of the
          complete line which occurs on any line the cursor happens to be on.

          Has anyone else encountered this? I am running Tools version 20120605
          under Windows XP SP 3.

          Hi,

          I've seen cases where tag matching doesn't work. I think I know what's
          happening there but will take a closer look and improve it once the next
          general release is out.

          Thank you for the feedback!

          Chami