On Tue, Jan 11, 2011 at 5:08 PM, stoneleaf <[email protected]> wrote:
> Where do I change the colors for python syntax?

Thanks for this question.  Somehow this whole topic got dropped from
the discussion at:

See http://webpages.charter.net/edreamleo/coloring.html#syntax-coloring-settings

> I have tried @settings-->Colors-->Syntax colors & options-->Options
for jEdit colorer-->Default colors

These settings do work for Qt, provided they appear as descendants of
the @settings node.  They may work also for Tk, provided you have the
threading_colorizer plugin enabled, but I haven't tested this.

For example, in myLeoSettings.leo, you can set general colors or
language specific colors as follows:

@color comment1_color = blue
@color python_comment1_color = pink

Put these in headlines, not in body text.

The list of settings names is as shown in  @settings-->Colors-->Syntax
colors & options-->Options
for jEdit colorer-->Default colors, and as in the example above you
can prepend any language name.

HTH.  Please feel free to ask more questions as needed.  I've just
made a note to improve the docs on the web site and also the comments
in leoSettings.leo.

Edward

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/leo-editor?hl=en.

Reply via email to