Highlight All Occurrences only works with "whole words"

Post anything about TopStyle here. NOTE: TopStyle has been discontinued.

Moderator: TopStyle Support

Post Reply
User avatar
FataL
Rank II - Novice
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":
Attachments
topstyle5-highlight-all-bug.png
topstyle5-highlight-all-bug.png (15.62 KiB) Viewed 5063 times

User avatar
TopStyle Support
Rank VI - Professional
Rank VI - Professional
Posts: 507
Joined: Sat Jun 13, 2009 12:38 pm
Contact:

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
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.

Post Reply