Bug 179367 - LaTeX highlighting after custom math tabular separator character distorted
Summary: LaTeX highlighting after custom math tabular separator character distorted
Status: RESOLVED FIXED
Alias: None
Product: kile
Classification: Unclassified
Component: general (show other bugs)
Version: 2.0.3
Platform: Fedora RPMs Linux
: NOR normal (vote)
Target Milestone: ---
Assignee: Michel Ludwig
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-02 13:16 UTC by casimir
Modified: 2009-02-16 00:00 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.