On 5/17/23 02:08, David C. Rankin wrote:
Please confirm,
In kate/kwrite, opening a .css file which invokes the katepart syntax/css.xml syntax file does not properly highlight the css.
However, if the CSS is part of a php file, then the css-php.xml file provides perfect CSS syntax highlight.
The bewildering thing is aside from the addition in css-php.xml to include the findphp syntax, the CSS content of both files is identical.
If this can be confirmed, this is a bug and the css.xml file will need to be fixed. I've checked the TDE source (tdelibs/kate/syntax) and the syntax file used by TDE is the same as we have for KDE3.
Let me know. Thanks.
Additionally, inline styles (e.g. between <style> ... </style> in .html docs is also fine. It is just in the pure text/css style-sheets alone (e.g. your 'site.css' file) where the css syntax highlight is messed up. (and you cannot have <style></style> tags in a .css style-sheet) -- David C. Rankin, J.D.,P.E.