trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: May 2020

Re: [trinity-devel] kate Settings -> Syntax Highlight -> Download -> no more from kate.org - What's TDE doing?

From: "E. Liddell" <ejlddll@...>
Date: Sun, 17 May 2020 07:43:17 -0400
On Sun, 17 May 2020 00:18:42 -0500
"David C. Rankin" <drankinatty@...> wrote:

>   Only thing I have run into lately is the htlm and/or css syntax file that
> craters when it reaches:
> 
> @media screen and (max-height: 450px) {
>   .sidenav {padding-top: 15px;}
>   .sidenav a {font-size: 18px;}
> }
> 
>   It does not recognize the enclosing (...) as a termination of the css
> property and value -- which crashes highlighting from that point on in the
> document. I don't do much web work, but the @media and e.g. screen or print,
> etc.. was a fairly recent addition (anything in the last 5-6 years is recent
> to me...)
> 
>   I have looked at the xml file to attempt to sort out what needs to be added
> or changed -- but that is more than Greek to me. Who can help with this type
> issue?

Interesting.  Your fragment appears to highlight correctly for me (using Kate 
syntax highlighting XML files installed at the very end of 2017).  Either there's 
been a regression, or the issue is something else in your CSS/HTML file.

E. Liddell