On Wednesday, March 7, 2018 at 8:18:21 PM UTC-6, Edward K. Ream wrote:

Rev 629c350 defines g.error, g.note and g.warning this way:

def error(*args, **keys):
    g.es_print(color='error', *args, **keys)

def note(*args, **keys):
    g.es_print(color='note', *args, **keys)

def warning(*args, **keys):
    g.es_print(color='warning', *args, **keys)

And similarly for g.blue and g.red. The following test yields the expected 
results:

g.error('error')
g.note('note')
g.warning('warning')
g.blue('blue')
g.red('red')

I shall add @color log_note_color setting to all new themes.  A reasonable, 
readable color is used if this setting does not exist.

Edward

-- 
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 leo-editor+unsubscr...@googlegroups.com.
To post to this group, send email to leo-editor@googlegroups.com.
Visit this group at https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.

Reply via email to