Bug ID | 1171854 |
---|---|
Summary | KDE3 katepart syntax highlight xml files need update from TDE git |
Classification | openSUSE |
Product | openSUSE Distribution |
Version | Leap 15.1 |
Hardware | Other |
OS | Other |
Status | NEW |
Severity | Normal |
Priority | P5 - None |
Component | KDE Applications |
Assignee | opensuse-kde-bugs@opensuse.org |
Reporter | drankinatty@suddenlinkmail.com |
QA Contact | qa-bugs@suse.de |
Found By | --- |
Blocker | --- |
Created attachment 837947 [details] Screenshot of 15.1 showing syntax highlight problem Since kde.org pulled the syntax file downloads (for Plasma as well as KDE3), there needs to be an update to the syntax files (kdelibs->katepart->data) for the 15.2 release. Our (openSUSE) syntax files are the June 2014 files. TDE is upstream for the syntax files and have continued to update the files as new CSS/PHP/HTML tags and the like have come out. The git URL for the files is: https://mirror.git.trinitydesktop.org/gitea/TDE/tdelibs/src/branch/master/kate/data The updated files handle the following example correctly (e.g. the '(...)' serving as as CSS property and value termination) as show in: Example: @media screen and (max-height: 450px) { .sidenav {padding-top: 15px;} .sidenav a {font-size: 18px;} } With our current syntax files syntax highlight break after "450)" for the remainder of the file. For 15.2, just pull the updated set into kdelibs->katepart->data. Simply updating the css.xml, css-php.xml, html.xml and html-php.xml files with the ones from the TDE git repo solves the problem. (I didn't do a one-by-one check, but just replaced those 4 file. openSUSE has the best KDE3 on planet earth, and it is a huge asset -- let's keep it that way. If you want me to create a patch, I can copy all the new files and create a patch -- but I suspect you have a smarter way to go about it. Let me know if yo want me to create one manually.