Short version:

Dufriz, if you want, grab the latest version, open your
myLeoSettings.leo, and use the new Reload Styles item from the Settings
menu.  It will hopefully either work, or give sensible feedback.

Long version:

Interesting pit fall with including code in Leo outlines like the
`stylesheet & source` node the instructions wanted you to execute, or
the `@button reload-styles` which was supposed to be included in
all settings type files.  In either case, Leo specific code which the
user isn't supposed to need to touch is being copied around, creating
duplicate versions, without easy updates... big anti-pattern.

The correct way is for style reloading to be handled by a Leo command
defined in Leo's core (well, the Qt interface core, anyway) so it can
be changed and updated as needed.

So the instructions to execute `stylesheet & source` and the `@button
reload-styles` are still out there, with their broken calls to
g.expand_css_constants etc., they'll have to be rounded up somehow.
Anyway, *now* the way to recompile the tree form of a theme into a
style-sheet (if your using a theme) and apply the style-sheet (from a
theme or simple static) is to Alt-X style-reload, or just
Settings->Reload Styles.

Cheers -Terry

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.

Reply via email to