GNOME Bugzilla – Bug 562735
Highlighting with Perl's defined-or
Last modified: 2013-03-01 20:50:09 UTC
Gedit's highlighting should support this new perl-510 syntax. The defined or: $a //= $b; and $c = $a //$b;
*** Bug 585138 has been marked as a duplicate of this bug. ***
*** Bug 619550 has been marked as a duplicate of this bug. ***
Still present in trunk.
Fixed by adding "//=" definition into <... id="operator" ...> section. 109c109 < \|= | >>= | \|\|= | \.= | %= | \^= | \bx= | --- > \|= | >>= | \|\|= | //= | \.= | %= | \^= | \bx= |
Created attachment 222644 [details] [review] Support of "//=" (defined-or) operator
gedit does highlight it (altough it does so by accident). Both "/" and "= "are recognized as operators so mixtures of them work fine. Your examples should be highlighted corrected.
Just an aside, what actually fixes this, is the fix I proposed for bug #582545 which is not committed yet. I'm then, marking this as a duplicate of it. *** This bug has been marked as a duplicate of bug 582545 ***