[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kwrite-devel
Subject:    [Bug 249316] New: highlighting engine ignores fallthrough="true"
From:       Lukas Sommer <sommerluk () gmail ! com>
Date:       2010-08-28 11:05:43
Message-ID: bug-249316-4792 () http ! bugs ! kde ! org/
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=249316

           Summary: highlighting engine ignores fallthrough="true"
           Product: kate
           Version: 0.2
          Platform: Unlisted Binaries
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: syntax
        AssignedTo: kwrite-devel@kde.org
        ReportedBy: sommerluk@gmail.com


Version:           0.2 (using KDE 4.3.5) 
OS:                Linux

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"

Actual Results:  
In line 2 and 3, the letters 'd' are displayed as dsNormal and abc as
'dsDataType'.

Expected Results:  
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 2.6.31.12-0.2-default
Compiler: gcc

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
KWrite-Devel mailing list
KWrite-Devel@kde.org
https://mail.kde.org/mailman/listinfo/kwrite-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic