View Single Post
Old 02-19-2026, 12:24 PM   #91
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 9,407
Karma: 6733754
Join Date: Nov 2009
Device: many
Okay, it was doable but required adding a new GetFirstUseOfClass routine to XhtmlDoc.cpp and of course modifying the Classes Used report.

Since it takes you to the line of the tag where that class attribute is used in CodeView, you can just right click in that class attribute to get moved to its definition in the CSS file. So you can easily get to both relevant locations with just a few clicks.

I have pushed this change to master. If you build your own please test it.

I really hope you are right and this is what the suggester wanted, and that I had just misunderstood. I kept the previous code around just in case.

Last edited by KevinH; 02-19-2026 at 12:27 PM.
KevinH is online now   Reply With Quote