I just tried this and finally I have consistent color across all panes of leo. Thanks much! I will let you know if I find something strange.
-Joon On Friday, September 28, 2012 3:04:16 PM UTC-5, Edward K. Ream wrote: > > On Friday, September 28, 2012 11:08:01 AM UTC-5, Edward K. Ream wrote: > > To summarize, when the work is complete users will be able to set >> colors for the log_error_color and log_warning_color settings that >> will be compatible with the color scheme used in the log pane. Calls >> to g.error and g.red will use the former setting; calls to g.warning >> and g.blue will use the latter. >> > > Done at the trunk at rev 5463. The work was easier than expected. > g.app.log.c is the desired commander. > > g.es now "redirects" colors using the following settings: > > 'black': @color log_text_foreground_color > 'blue': @color log_warning_color > 'red': @color log_error_color > > In other words, if you specify the colors black, blue or red directly to > g.es, or use g.red, g.blue, g.error or g.warning, the actual color used > will be based on the settings. > > If you specify any other color besides black, blue or red, that will be > the actual color of the text sent to the log. Admittedly, this is a bit > kludgy, but it should suffice for almost any conceivable purpose. Note > that using the default settings will result in no color translation at all, > which means that g.es(s, color=whatever) will always work as expected. > > Edward > -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To view this discussion on the web visit https://groups.google.com/d/msg/leo-editor/-/yvNfvKGO-koJ. 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.
