GNOME Bugzilla – Bug 590957
doesn't display perl-scripts correctly after "y"
Last modified: 2011-05-13 20:03:40 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,
Created attachment 146246 [details] perl.lang without transliteration context
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.
*** This bug has been marked as a duplicate of bug 582546 ***