Bug 60869 - PHP syntax highlighting bug in switch / case
Summary: PHP syntax highlighting bug in switch / case
Status: RESOLVED FIXED
Alias: None
Product: kate
Classification: Applications
Component: syntax (show other bugs)
Version: SVN
Platform: Slackware Linux
: NOR normal
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-07-07 11:53 UTC by Simon Ejsing
Modified: 2003-08-24 09:45 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Simon Ejsing 2003-07-07 11:53:43 UTC
Version:           3.0 alpha4 (using KDE KDE 3.1.2)
Installed from:    Slackware Packages
OS:          Linux

case 1...3 is highlighted incorrectly in the PHP syntax highlighter.

It's highlighted as '1.' in float highlight next '.' in standard colour and the last '.3' in float syntax again.

Should be: '1...3' all in same colour.
Comment 1 Amilcar do Carmo Lucas 2003-07-07 12:22:08 UTC
KDevelop 3 alpha4a is a bit old. 
 
You are strongly advised to update to the latest CVS version of KDevelop3 code 
name gideon, take a look at: 
http://www.kdevelop.org/index.html?filename=branches_compiling.html 
for all the details you need. If you find a problem or need help please send a 
mail to the mailing list: 
http://www.kdevelop.org/index.html?filename=mailinglist.html 
or drop us a line at the channel #kdevelop on the server irc.kde.org using 
ksirc, for example. 
Please use the CVS version and compile it yourself because that way you can 
easily patch it if a bug is found. 
 
P.S. : The KDevelop team closed over 107 reported and confirmed bugs since the 
release of KDevelop3.0 Alpha 4a 
The bad news is that KDevelop3 currently has 113 reported bugs :( 
 
Comment 2 Simon Ejsing 2003-07-07 13:56:09 UTC
I've updated to some CVS version recently, but I have no idea what and when exactly, so I 
reported it as alpha4... I'm on the mailinglist, and I've noticed the PHP development is very 
slow, so I thought the bug might still exist (found nothing in the bug tracker). 
 
I would fix it myself, however I find it hard to figure out how KDevelop is structured. It took me 
almost a day just to figure out how to remove the PHP tab from the main window... 
Comment 3 Amilcar do Carmo Lucas 2003-07-07 14:09:37 UTC
Try to generate Gideon's API documentation by runnig: 
doxygen Doxyfile 
in kdevelop root directory 
The generated documentation will be under doc/api/html/index.html 
There you can find all you need to know. 
Comment 4 Jens Dagerbo 2003-08-24 02:28:25 UTC
Syntax highlighting is done by the editor part, this case I assume it's katepart 
since I see the error there. Reassigning. 
 
Comment 5 Christoph Cullmann 2003-08-24 09:45:58 UTC
fixed in katepart, if that work in qeditor is an other question