[Bug 60515] New: PHP syntax error (strange green characters)
Joel Wiesmann
joel2002 at gmx.ch
Mon Jun 30 09:38:05 UTC 2003
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=60515
Summary: PHP syntax error (strange green characters)
Product: kdevelop
Version: unspecified
Platform: Debian stable
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: general
AssignedTo: kdevelop-devel at kdevelop.org
ReportedBy: joel2002 at gmx.ch
Version: 3.0.0a4 (using KDE KDE 3.1.2)
Installed from: Debian stable Packages
Compiler: None PHP "test"-Button does not work, but I saw that was already reported.
OS: Linux
Hi there.
I have a strange problem with the php-syntax highlighting. It makes some single characters "green". I mean not the whole word, just some char's of it.
Example:
load_projekte( $PROJDATA );
load_users( $USERLISTDATA );
is directly at the beginning of the code. The characters: "e", "d" and "u" are green, the others not.
Other example:
function listview_header() (...)
The characters: "i", "e", "d" are green.
The syntax-highlighting is correctly set to "php", even when I set it to another one and back to php, or restart Gideon I get the error.
The code seems to be ok, it works fine and the strange characters start already at the beginning of the code with the 2 simple functions I'm calling above.
But the best thing: IT IS REPRODUCEABLE (at least for me ;)). I exactly copied this code below into a seperate textfile (with vi) and opened it with gideon:
<?php
// +----------------------------------------------------------------------
// | PHP Source
// +----------------------------------------------------------------------
// | Copyright (C) 2003 by Joel Wiesmann, KPTX 4 <joel.wiesmann at credit-suisse.com>
// +----------------------------------------------------------------------
// |
// | Copyright: See COPYING file that comes with this distribution
// +----------------------------------------------------------------------
// Allerlei Statistikfunktionen inkl. Output im Tableformat
// $RESULTS MUSS DB-RESULTATE HABEN!
// listview (_header, _bottom): Listenview
// detailview: Detailierte Ansicht eines Eintrages.
// userstat (_header, _bottom): Userstatistiktabelle ( Aufgaben nach Projekt, investierte Zeit )
// Daten laden. Wird fuer Statistikauswertung benoetigt
load_projekte( $PROJDATA );
load_users( $USERLISTDATA );
?>
Check it out ;).
Greets
Joel
More information about the KDevelop-devel
mailing list