Highlighting of the body line the cursor is now in the latest version of 
the *devel* branch. Highlighting is turned off by default.  To turn it on, 
add a setting to myLeoSettings.leo, or to an outline in which you want to 
try it out.  The setting is:

@bool highlight-body-line = True

By default, the highlight color will be computed based on the background 
color of your theme.  If you do not like the computed color, you can 
override it with another setting:

@string line-highlight-color = yourcolor

Instead of *yourcolor*,  use the CSS color you want.  Valid css colors are 
standard css color names like *aliceblue*, *lightgrey*, etc. You can also 
use css rgb color values like *#1253da*. If the color is not a valid css 
color, black will be used, which is not likely to be a good highlight 
color. (Note that the allowed color names are those known to Qt, and may 
not include the full range used by browsers).

The *Help/Open Help topics* menu has a new entry 
*Help-For-Highlight-Current-Line*  that displays this information about the 
color settings.

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/1f80840c-45b7-462a-99d8-c80fcfa8da64n%40googlegroups.com.

Reply via email to