GNOME Bugzilla – Bug 582546
Perl: text after y incorrectly highlighted as transliteration operator
Last modified: 2021-07-05 11:01:36 UTC
the bug has been opened on https://bugs.launchpad.net/bugs/283411 "gtksourceview2 seems to get the highlighting in some hashes wrong. From y, it is all incorrect: $e = { $d => { x => 210, y => 297, l => 0, t => 0, }, };"
*** Bug 590957 has been marked as a duplicate of this bug. ***
I can confirm this bug is still present on the trunk version. From the comments on the bug marked as duplicated, it seems this bug seems to originate from the context 'transliteration' on perl.lang
*** Bug 562959 has been marked as a duplicate of this bug. ***
I took a look at this bug (still present on development version) and indeed the problem is on the transliteration context. It recognizes the start of one as a "tr" or "y" followed by \b whitout actually looking if there's a quote like opeartor next.
GNOME is going to shut down bugzilla.gnome.org in favor of gitlab.gnome.org. As part of that, we are mass-closing older open tickets in bugzilla.gnome.org which have not seen updates for a longer time (resources are unfortunately quite limited so not every ticket can get handled). If you can still reproduce the situation described in this ticket in a recent and supported software version, then please follow https://wiki.gnome.org/GettingInTouch/BugReportingGuidelines and create a new ticket at https://gitlab.gnome.org/GNOME/gtksourceview/-/issues/ Thank you for your understanding and your help.