Re: Syntax colorizer change for html

2018-03-31 Thread Chris George
Hi Thomas, Which theme were you having trouble with? The @data qt-gui-plugin-style-sheet node is created from the nodes below in the tree. There is a Qt bug (~=, see issue #485) that will stop Qt from rendering everything after the first instance of this in the stylesheet if you are using Qt

Re: Syntax colorizer change for html

2018-03-31 Thread Thomas Passin
I've also had a lot of problems adjusting colors in themes. One thing I discovered is that the presence of the node with headline "@data qt-gui-plugin-style-sheet" has font and color settings that make the desired changes when none of the other settings - the ones that are supposed to work -

Re: Syntax colorizer change for html

2018-03-30 Thread Edward K. Ream
On Fri, Mar 30, 2018 at 8:48 AM, Rob wrote: > Thanks, Edward! I would not have thought of that solution. This now works > for me. > ​Glad to hear it. It's on the list to document the interaction between theme .leo files and other settings files. Edward -- You received

Re: Syntax colorizer change for html

2018-03-30 Thread Rob
Thanks, Edward! I would not have thought of that solution. This now works for me. Rob... On Friday, March 30, 2018 at 5:28:42 AM UTC-4, Edward K. Ream wrote: > > On Wed, Mar 28, 2018 at 2:08 PM, Rob > wrote: > >> With all of the new work on themes, I loaded each one and all

Re: Syntax colorizer change for html

2018-03-30 Thread Chris George
Worked for me. Just don't ask me to explain why. :-) I totally removed the @theme node from myLeoSettings.leo. The only theme related setting in myLeoSttings.leo is now @string theme-name = BreezeDarkThemeLocal. Changes to syntax coloring in the @theme settings in the local file

Re: Syntax colorizer change for html

2018-03-30 Thread Edward K. Ream
On Wed, Mar 28, 2018 at 2:08 PM, Rob wrote: > With all of the new work on themes, I loaded each one and all of them, for > some unknown reason cause my syntax colorizer to not work on @language html. > ​I just had ​a similar problem when using Leo on a laptop for the first

Re: Syntax colorizer change for html

2018-03-29 Thread Terry Brown
On Thu, 29 Mar 2018 14:20:17 -0700 Chris George wrote: > Terry uses a custom theme of his own devising. which is attached here is anyone wants to try it https://github.com/leo-editor/leo-editor/issues/595#issuecomment-347030885 although I may have tweaked it to cope with

Re: Syntax colorizer change for html

2018-03-29 Thread Chris George
Terry uses a custom theme of his own devising. Do you use the syntax coloring settings Terry? Chris On Thu, Mar 29, 2018 at 1:49 PM, Rob wrote: > So, the mystery is why does it work with some themes and not with others? > After much searching, I can't find the 'missing

Re: Syntax colorizer change for html

2018-03-29 Thread Rob
So, the mystery is why does it work with some themes and not with others? After much searching, I can't find the 'missing link'. Rob... On Thursday, March 29, 2018 at 3:48:03 PM UTC-4, Terry Brown wrote: > > > with @language html at top of node, and my personal old solarized dark > theme, I

Re: Syntax colorizer change for html

2018-03-29 Thread Chris George
I am becoming convinced that the syntax coloring settings don't work. Before I changed the settings, I read as much as I could find about it. My understanding is those language elements are tagged with the keyboard1, keyword2 etc. and the colors themselves are set via the syntax coloring

Re: Syntax colorizer change for html

2018-03-29 Thread Chris George
My system does exactly what yours does. I loaded a large, complex html document. With no @language directive, all of the text except for urls is white. The urls are the color specified in the "Leo constructs" setting. Add @language html. Now the document pulls in coloring for other elements

Re: Syntax colorizer change for html

2018-03-29 Thread Rob
That doesn't work for me. I always have the @language html in the root node of these files, and it still doesn't work. Wonder what's different about my system from yours. This screenshot of an example with Breeze Dark theme loaded:

Re: Syntax colorizer change for html

2018-03-29 Thread Chris George
Looking at a raw html file, it is all white except the urls are the color which is defined in "Leo constructs". As soon as I add @language html to the node, the syntax coloring comes into play. HTH, Chris

Re: Syntax colorizer change for html

2018-03-29 Thread Rob
I'm stumped! After much experimenting, I find the following: 1. The Leo Light theme (copied from EKRLight.leo) is my favorite color palette. However, the html syntax color for tags is black (same as content color), not blue. I changed the @color markup_color = blue (also tried some

Re: Syntax colorizer change for html

2018-03-28 Thread Chris George
@theme Breeze Dark-->Settings for Leo Breeze Dark-->Colors...-->Colors: Syntax coloring In BreezeDark, for example, I adjusted the colours to my liking as some were too dark for a dark theme. Go through both Colors: Defaults and Colors: Leo constructs and fiddle until you get them where you like

Syntax colorizer change for html

2018-03-28 Thread Rob
With all of the new work on themes, I loaded each one and all of them, for some unknown reason cause my syntax colorizer to not work on @language html. Before, tags would be blue and content text would be black. Now, everything is black. Also, if I choose one of the dark themes, the tag colors