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@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
I can confirm this. After a while some characters also seem to turns out yellow... A restart seems to fix the problem
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 130 reported bugs since the release of KDevelop3.0 Alpha 4a
Mh, I took a look over the code again.. as I started to correctly access the arrays ( $test['value'] instead of only $test[value] ), the problem disapeared (or is now so rare that it's not bother me anymore.. )