I'm using Kate 3.9.95 on Kubuntu Raring. There seems to be a problem in Syntax highlighting file for Bash scripts (bash.xml). See attached screenshots for details. Reproducible: Always Steps to Reproduce: 1. Open any shell script with Kate/KWrite/etc 2. Turn on Scripts/bash syntax highlighting (optional) Actual Results: String extrapolation syntax like eval "$(dircolors -b ~/.dircolors)" would be highlighted normally Expected Results: Syntax highlighting bug appears bash.xml maintainer is Wilbert Berendsen (wilbert@kde.nl)
Created attachment 75982 [details] Broken syntax highlighting Screenshot that illustrates broken highliting
Created attachment 75983 [details] Root of the issue Screenshot that demonstrates probable root of issue.
Created attachment 75984 [details] Difference between bash.xml in 3.9.4 and 3.9.95 kate versions I've noticed that bash.xml was changed between 3.9.4 and 3.9.95 kate releases
Hello Elvenfighter, This is a known problem (See bug 311233). I have already posted an alternative patch on the bug report to fix this issue and others. However, I guess no commit-allowed developer appiled it. Either the new patch must be verified and committed before 4.10 or the previous patch must be reverted. Sorry, I have no power over it. Regards,
Git commit 5c905a445476032d816e4e1db070c3e52a523bda by Dominik Haumann. Committed on 28/12/2012 at 12:33. Pushed by dhaumann into branch 'master'. fix regression of bash version 2.15 Thanks to Luiz Angelo De Luca for the fix! Does this also fix 312121 and 312274 ? Related: bug 311233, bug 312274 FIXED-IN: 4.10 M +62 -29 part/syntax/data/bash.xml http://commits.kde.org/kate/5c905a445476032d816e4e1db070c3e52a523bda
Git commit b9947e0454dbb3b9d11be5a6ffb8331569d8df31 by Dominik Haumann. Committed on 28/12/2012 at 12:33. Pushed by dhaumann into branch 'KDE/4.10'. fix regression of bash version 2.15 Thanks to Luiz Angelo De Luca for the fix! Does this also fix 312121 and 312274 ? Related: bug 311233, bug 312274 FIXED-IN: 4.10 M +62 -29 part/syntax/data/bash.xml http://commits.kde.org/kate/b9947e0454dbb3b9d11be5a6ffb8331569d8df31
I can confirm that reported bug was fixed in bash.xml version 2.16.