gEdit Incorrectly Highlights strings in Heredoc
Bug #43182 reported by
Tom R
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://
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.
Changed in gtksourceview: | |
status: | Confirmed → Fix Released |
Changed in gtksourceview: | |
importance: | Unknown → Medium |
To post a comment you must log in.
Incorrectly assigned to Baltix.