Highlight All Occurrences only works with "whole words"

TopStyle has been discontinued and support is no longer available. The forum is read-only. NOTE: TopStyle was not developed by the makers of CSS HTML Validator.
User avatar
FataL
Rank II - Novice
Posts: 23
Joined: Mon Feb 28, 2011 7:41 pm

Highlight All Occurrences only works with "whole words"

Post by FataL »

It seems as either counterintuitive interface or just a bug: I can't select some symbols and highlight them with special button -- it automatically selects whole word (as TS understands it) and then highlights all its occurrences.

For example I want to highlight all "border" words, manually selecting "border" inside "border-top":
You do not have the required permissions to view the files attached to this post.
User avatar
TopStyle Support
Rank VI - Professional
Posts: 506
Joined: Sat Jun 13, 2009 12:38 pm

Re: Highlight All Occurrences only works with "whole words"

Post by TopStyle Support »

Correct. This is by design because border-top is a CSS property, and this feature highlights complete tokens only.
User avatar
FataL
Rank II - Novice
Posts: 23
Joined: Mon Feb 28, 2011 7:41 pm

Re: Highlight All Occurrences only works with "whole words"

Post by FataL »

So this design appears to be a bit counterintuitive (the Highlight button appears after I manually select anything) and unproductive (the example above is real world scenario in which I want to highlight all CSS properties that related to border).

I see no reason why this can't be treated as a bug from user's prospective.