Version: (using KDE KDE 3.5.2) Installed from: Debian testing/unstable Packages OS: Linux This is a forwarded wishlist: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=349787 Maybe not really related to quanta, kate kpart ? ---------------------------------------------- Enter a switch block into PHP source: switch($v) { case 1: echo 'is 1'; break; default: echo 'not 1'; } The "default" word will not be colored as switch and case (remain black).
SVN commit 582156 by amantia: Color the "default" keyword as "switch" and "case". This is in line with the C++ highlighting. BUG: 124642 M +1 -1 php.xml --- branches/KDE/3.5/kdelibs/kate/data/php.xml #582155:582156 @@ -11,6 +11,7 @@ <list name="control structures"> <item>as</item> <item>case</item> + <item>default</item> <item>if</item> <item>else</item> <item>elseif</item> @@ -38,7 +39,6 @@ <item> catch </item> <item> class </item> <item> const </item> - <item> default </item> <item> extends </item> <item> final </item> <item> function </item>