Quote:
Originally Posted by kovidgoyal
Code:
p span.moo { color: red }
li span.moo { color: green }
in one stylesheet, now which rule should clicking on moo take you to?
You can even have multiple rules with the exact same selectors
Code:
.moo { font-size: 11pt }
.moo { color: purple }
|
Doesn't
Tools > Reports > Style Classes already do something similar?
You're able to double-click and jump to the class's location in the CSS.
(Plus jumping to the very first instance would work for the vast majority of cases, like KevinH said.)
I find the
Right-Click > "Go to Link or Style" in Sigil to be absolutely fantastic, and it's one of my most-used features to easily hop around/parse books on opening. (Especially when dealing with calibre### classes.)
Quote:
Originally Posted by KevinH
FWIW, Sigil has just added its own version of gumbo query and fixed a number of bugs to help it determine if even complex css selectors apply to a specific node. So improvements for this feature in Sigil are coming but as Kovid said, there is no way to handle all cases.
|

Absolutely fantastic work, Kevin!