View Single Post
Old 07-14-2010, 08:16 PM   #2
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 25,312
Karma: 34628615
Join Date: Aug 2009
Location: The Central Coast of California
Device: K4NT(Fixed,New Bat.), Galaxy Tab A, Kobo Aura2
Quote:
Originally Posted by Fitz View Post
I'm new to the forum, so apologies if this has been covered already.

I'm finding Sigil extremely useful for basic formatting and organisation, but what I'd find really useful would be some way of applying styles from the embedded stylesheet to text while in book view.

What I envision is something like this: Sigil reads the stylesheet and populates a drop-down list with all the classes found therein. The user selects a block or string of text, and applies the appropriate style by clicking on it in the list; the display is then updated to reflect the change in formatting. I guess there might have to be some facility to determine whether the style is applied as a DIV or SPAN too.

I'm not a programmer, so I don't know if this would be insanely difficult to implement or not... but I've got my fingers crossed
I had a similar idea...But... The Gottcha.

What does the style do?
Some styles are used in clusters?.
Code:
class="stylea stylec foostyle"
I started commenting the stylesheet when I figured one out.
If somehow the style tool could pick up the comment on the same line as the declaration and use it as a balloon help tip
Code:
.offcenterL{  /* fudge centered text Left */
But this is not a standard usage
theducks is offline   Reply With Quote