Bug 68829

Summary: syntax highlighting problem with variables names that contain 0
Product: [Applications] kate Reporter: Joshua J. Wingstrom <wingstro>
Component: syntaxAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:

Description Joshua J. Wingstrom 2003-11-23 03:53:36 UTC
Version:            (using KDE KDE 3.1.4)
Installed from:    Gentoo Packages
Compiler:          gcc version 3.2.3 20030422 (Gentoo Linux 1.4 3.2.3-r1, propolice)  
OS:          Linux

Variables that contain a 0 followed by another number are not highlighted properly (the 0 and the number(s) after it are highlighted as numbers) in C++.
Comment 1 Jens Dagerbo 2003-11-23 10:32:14 UTC
Syntax highlighting is done by katepart. Reassigning.

It does appear to be fixed in 3.2 though..
Comment 2 Hamish Rodda 2003-11-23 12:10:26 UTC
I would agree that this is fixed... I did quite a bit of work to optimise the highlighter, it seems to have fixed this in the process...?
Comment 3 Joshua J. Wingstrom 2003-11-23 12:33:16 UTC
Subject: Re:  syntax highlighting problem with variables names that
 contain 0

It must be working in the new version (I still have 3.1.4).  I thought it was 
KDevelop and did not check the bug reports for Kate.  The problem also exist 
in Kate 2.1.  Just trying to help catch everything before the big 3.2 KDE 
stable release.


On Sunday 23 November 2003 01:10 am, Hamish Rodda wrote:
> ------- You are receiving this mail because: -------
> You reported the bug, or are watching the reporter.
>
> http://bugs.kde.org/show_bug.cgi?id=68829
>
>
>
>
> ------- Additional Comments From rodda@kde.org  2003-11-23 12:10 -------
> I would agree that this is fixed... I did quite a bit of work to optimise
> the highlighter, it seems to have fixed this in the process...?

Comment 4 Christoph Cullmann 2003-11-23 14:20:53 UTC
Subject: Re:  syntax highlighting problem with variables names that contain 0

hmm, I think in head this prob is solved, guess was problem that the 
startEnable() was borked in older versions for the integer/float stuff, that 
was fixed by me or rodda, don't know ;)

Comment 5 Hamish Rodda 2003-11-23 14:29:43 UTC
Oh, that's right, I remember thinking "how did this ever work?" ;)

Re-open if you reproduce it in CVS head...