[Bug 43182] gEdit Incorrectly Highlights strings in Heredoc

Tom Rix asubstitute at gmail.com
Sat May 6 04:11:47 UTC 2006


Public bug reported:

Affects: gedit (Ubuntu)
       Severity: Normal
       Priority: (none set)
         Status: Unconfirmed
Affects: Baltix
       Severity: Normal
       Priority: (none set)
         Status: Unconfirmed


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.

** Also affects: gedit (Ubuntu)
     Severity: Normal
     Priority: (none set)
       Status: Unconfirmed

-- 
gEdit Incorrectly Highlights strings in Heredoc
https://launchpad.net/bugs/43182




More information about the desktop-bugs mailing list