Re: Current Line Highlighting Is Now Available In The Devel Branch

2021-09-16 Thread tbp1...@gmail.com
:) Thank you, Viktor! On Thursday, September 16, 2021 at 1:38:34 PM UTC-4 viktor@gmail.com wrote: > Hello Thomas, > > tbp1...@gmail.com schrieb am Mittwoch, 15. September 2021 um 15:30:25 > UTC+2: > >> For those interested in how the background color is computed, here is the >> algorithm:

Re: Current Line Highlighting Is Now Available In The Devel Branch

2021-09-16 Thread Viktor Ransmayr
Hello Thomas, tbp1...@gmail.com schrieb am Mittwoch, 15. September 2021 um 15:30:25 UTC+2: > For those interested in how the background color is computed, here is the > algorithm: > > 1. Parse the Leo theme's style sheet and extract the body text foreground > and background colors. > 2. If the

Re: Current Line Highlighting Is Now Available In The Devel Branch

2021-09-15 Thread tbp1...@gmail.com
For those interested in how the background color is computed, here is the algorithm: 1. Parse the Leo theme's style sheet and extract the body text foreground and background colors. 2. If the theme has a light background, use a slightly darker color; if the theme bg is dark, use a slightly ligh

Current Line Highlighting Is Now Available In The Devel Branch

2021-09-15 Thread tbp1...@gmail.com
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