Version: 0.2 (using KDE 4.3.5)
The highlighting engine of Kate ignores the attribute fallthrough="true" in a Context tag if this Context tag is the first one in the highlighting XML file.
Reproducible: Didn't try
Steps to Reproduce:
Install the attached bug.xml.
Open the attached file "syntaxbug"
In line 2 and 3, the letters 'd' are displayed as dsNormal and abc as 'dsDataType'.
In line 2, the whole line falls through the context "default" because no rule matches. It should therefore be displayed entirely as dsError (red). In line 3, starting with the first 'd', everything (also 'abc') should be displayed as dsError.
OS: Linux (i686) release 184.108.40.206-0.2-default
Created attachment 51047 [details]
Created attachment 51048 [details]
Created attachment 51049 [details]
Git commit decfe63b0911a58263fc7e20c448468ea3efe0d9 by Christoph Cullmann.
Committed on 07/11/2012 at 23:59.
Pushed by cullmann into branch 'master'.
allow fall-through for initial context if user really wants it ;)
M +9 -12 part/syntax/katehighlight.cpp