kate: Wrong php source highlight

Bug #662601 reported by BlaDe39
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kdesdk (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: kate

When editing php source using kate and highlight text you can get bug with parsing php.

For example:
<?php
 $str='endfor';
 for($i=0;$i<strlen($str);$i++)
 {
  echo '.0x'.dechex(ord(substr($str,$i,1)));
 }
 echo "\n";
?>

all lines after word "endfor" lighthted in one color and not parsed at all. Even if endfor in ' or " symbols.

Revision history for this message
Jonathan Thomas (echidnaman) wrote :

Works for me with Kubuntu 10.10.

Revision history for this message
BlaDe39 (blade39) wrote :

Screenshow showing this bug.

Kate is working under gnome. I set up it from standart ubuntu repository.
Version of Ubuntu: 10.04 LTS

Version of kate:
Kate
Version 3.4.2
Using KDE Development Platform 4.4.2 (KDE 4.4.2)

P.S. On other pc with gentoo, with kate 3.4.5 bug is still repeatable

Revision history for this message
Maarten Bezemer (veger) wrote :

Works for me as well with Kubuntu 10.10, KDE 4.5.1 and Kate 3.5.1

@BlaDe39 did you try to update of this version of Kate? If so, is the bug still present?

Changed in kdesdk (Ubuntu):
status: New → Incomplete
Revision history for this message
BlaDe39 (blade39) wrote :

@Veger, seems bug has been fidex in Kate 3.5.1 in KDE 4.5.1, haven't go any other versions now to check, so hope it's fixed.

Revision history for this message
Maarten Bezemer (veger) wrote :

Thanks for your reply.
Closing this bug

Changed in kdesdk (Ubuntu):
status: Incomplete → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.