After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 590957 - doesn't display perl-scripts correctly after "y"
doesn't display perl-scripts correctly after "y"
Status: RESOLVED DUPLICATE of bug 582546
Product: gtksourceview
Classification: Platform
Component: Syntax files
2.7.x
Other Linux
: Normal normal
: ---
Assigned To: GTK Sourceview maintainers
GTK Sourceview maintainers
Depends on:
Blocks:
 
 
Reported: 2009-08-06 14:24 UTC by Pedro Villavicencio
Modified: 2011-05-13 20:03 UTC
See Also:
GNOME target: ---
GNOME version: 2.27/2.28


Attachments
perl.lang without transliteration context (148 bytes, application/octet-stream)
2009-10-26 06:23 UTC, Alexander Kuleshov
Details

Description Pedro Villavicencio 2009-08-06 14:24:21 UTC
this report has been filed here:

https://bugs.edge.launchpad.net/ubuntu/+source/gtksourceview2/+bug/408782

"Gedit takes text after "y" incorrectly as a string (pink-colored). Either the assumed string reaches to the third appaerance of the first following sign after "y", or if it be a "(" it reaches sometimes to the second semikolon or to the end of the script.
"

example file:

http://launchpadlibrarian.net/29960800/exemple_2.pl

Thanks,
Comment 1 Alexander Kuleshov 2009-10-26 06:23:28 UTC
Created attachment 146246 [details]
perl.lang without transliteration context
Comment 2 Alexander Kuleshov 2009-10-26 06:28:04 UTC
The problem lies in the following snippet:
code:
 <context id="transliteration" style-ref="regex">
      <start>\%{pattern-before}(tr|y)\b</start>
      <end>\%{end-of-pattern}[cds]*</end>
      <include><context ref="double-pattern-no-ve"/></include>
    </context>
and
<context ref="transliteration"/> 
____________________________________________________________________
If you comment out the code in the file perl.lang everything will be displayed correctly. Above I put the file so that it is necessary to comment out. Without the code all working correctly.
Comment 3 Carnë Draug 2011-05-13 20:03:40 UTC

*** This bug has been marked as a duplicate of bug 582546 ***