GNOME Bugzilla – Bug 683030
Matching brackets highlighting incorrect in some PHP scripts(using Gedit on Ubuntu)
Last modified: 2013-04-20 16:51:19 UTC
In certain PHP scripts, the opening < of <?php is matched with the first > in the code instead of the ending >, possibly because of assignment operators being treated like closing brackets. See the code below: 1 <?php 2 class ErrorInfo { 3 //Some code without less-than or greater-than signs 4 $errArray=array( 5 mbStringNotFound => 'The mbstring extension was not found', 6 //More code here... 7 ?> Note that the greater-than sign in the assignment( => ) on line 5 is matched to the opening on like 1, instead of to the closing ?> on line 7. I am on Ubuntu 11.10, x64, with Gedit 3.2.0-0ubuntu1. I will get the version of gtksourceview when I am back on my Ubuntu machine.
*** This bug has been marked as a duplicate of bug 300458 ***