So to get the new code you just need to be running the latest version
from:
http://leoeditor.com/download.html
option 2. (when Edward next updates the documentation the information
will all be on that page, currently it's still popping out to the old
page,
http://www.greygreen.org/leo/http://www.greygreen.org/leo/
but that page has the current info., so that's ok.
Then
Settings -> Open Personal Settings
Under the @settings node, create a node `@data qt-gui-user-style-sheet`
In that, put something like:
/* focused pane border highlight */
QTextEdit#log-widget, LeoQTreeWidget#treeWidget, QTextEdit#richTextEdit {
background: blue;
}
QTextEdit:focus#log-widget, LeoQTreeWidget:focus#treeWidget, QTextEdit:focus#richTextEdit {
background: red;
}
Also, to be sure the old red-border code's not running, create a node
under @settings, `@bool use_focus_border = False`
I think you mentioned changing the background color, as shown above,
but if you want to change the border, you can
Settings -> Open Global Settings
find the node there, `active frame border styles` and copy it and its
children under your @settings node in your personal settings, and edit
the values in the children as needed, they're:
@string focused-border-style = solid
@string focused-border-width = 1px
@string focused-border-focus-color = red
@string focused-border-unfocus-color = white
Two notes:
- long term this should just be a matter of going to the menu item
`Settings -> Appearance -> Active pane` or something, but we're not
there yet.
- if you want the full flexibility of and appearance tweaks Qt allows,
you're always going to have to deal with some complexity, knowing
the style-sheet syntax, essentially.
http://qt-project.org/doc/qt-4.8/stylesheet-reference.html
Cheers -Terry