gEdit Incorrectly Highlights strings in Heredoc

Bug #43182 reported by Tom R
10
Affects Status Importance Assigned to Milestone
GtkSourceView
Fix Released
Medium
Baltix
Invalid
Medium
Unassigned
gtksourceview2 (Ubuntu)
Fix Released
Wishlist
Ubuntu Desktop Bugs

Bug Description

http://img69.imageshack.us/img69/5664/geditbug3no.png

Within Heredoc string syntax, PHP can have both apostrophes (') and double quotes (") without the need for escaping them. View the attached image. If I have an apostrophe within heredoc (as an apostrophe, not syntacially), gEdit highlights the rest of the document as if it was in quote marks (highlights the remaining document pink).

This is very hard to describe. I am also unsure how it SHOULD highlight but the current way is incorrect because this is not that way that PHP interperts code.

Note: the original reporter indicated the bug was in package 'gedit'; however, that package was not published in Baltix.

Revision history for this message
Tom R (asub) wrote :

Incorrectly assigned to Baltix.

Revision history for this message
Sebastien Bacher (seb128) wrote :

Thanks for your bug. That's known upstream: http://bugzilla.gnome.org/show_bug.cgi?id=339491

Changed in gedit:
assignee: nobody → desktop-bugs
status: Unconfirmed → Confirmed
Revision history for this message
Sebastien Bacher (seb128) wrote :

The bug has been fixed upstream now

Changed in gtksourceview:
status: Confirmed → Fix Committed
Changed in gtksourceview:
status: Confirmed → Fix Released
Revision history for this message
Sebastien Bacher (seb128) wrote :

 gtksourceview2 (1.90.4-0ubuntu1) gutsy; urgency=low
 .
   * New upstream version:
     - Many improvements to all the lang files
     - Many minor API tweaks
     - Misc bugfixes
     - Updated translations
   * debian/control.in:
     - updated the Breaks version on gedit
   * debian/rules:
     - updated shlibs version

Changed in gtksourceview2:
status: Fix Committed → Fix Released
Changed in gtksourceview:
importance: Unknown → Medium
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.