Bug 179367

Summary: LaTeX highlighting after custom math tabular separator character distorted
Product: [Applications] kile Reporter: casimir
Component: generalAssignee: Michel Ludwig <michel.ludwig>
Status: RESOLVED FIXED    
Severity: normal CC: thomas.braun
Priority: NOR    
Version: 2.0.3   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:

Description casimir 2009-01-02 13:16:19 UTC
Version:           2.0.3 (using KDE 4.1.3)
Compiler:          target: i386-redhat-linux 
OS:                Linux
Installed from:    Fedora RPMs

Kile is stuck in Math mode syntax highlighting after specifications of math-mode separator characters including curly brackets in tabular environments.
Example:
\begin{tabular}{r @{$\mathrel{=}$}} ...
                    ! mathstart not recognized
                                ! this mathend delimiter is not recognized.
However, a second occurance of such construct does not lead back to normal display but Kile will highlight all remaining content until the end of the document as math.

The problem seems to be the additional curly brackets within the @{} environment. The \mathrel or \mathop are definitely not the source. E.g. @{${}$} is enough to trigger the error.
Comment 1 Thomas Braun 2009-02-16 00:00:50 UTC
Fixed in r915126 which is part of KDE 4.2.