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 323999 - perl inline pod not properly highlighted
perl inline pod not properly highlighted
Status: RESOLVED FIXED
Product: gtksourceview
Classification: Platform
Component: Syntax files
1.4.x
Other Linux
: Normal normal
: ---
Assigned To: GTK Sourceview maintainers
GTK Sourceview maintainers
Depends on:
Blocks:
 
 
Reported: 2005-12-13 18:07 UTC by Jaap Karssenberg
Modified: 2005-12-30 14:35 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Jaap Karssenberg 2005-12-13 18:07:38 UTC
Version details: 1.4.2

Inline pod in perl files is only properly highlighted when it starts with
"=pod". But in fact pod can also start with "=head1" or "=item" etc.; all these
forms of pod should be highlighted as comments. This is especially annoying when
the pod documentation contains quotes that get highlighted as run-away multiline
strings, thus interfering with the highlighting of the code outside the pod part.
Comment 1 Jaap Karssenberg 2005-12-16 12:45:26 UTC
Below the diff for perl.lang to fix this

<               <start-regex>^=pod</start-regex>
---
>               <start-regex>^=\w+</start-regex>
Comment 2 Paolo Maggi 2005-12-30 14:35:24 UTC
Fixed in CVS HEAD.

2005-12-30  Paolo Maggi  <paolo@gnome.org>

	* gtksourceview/language-specs/perl.lang: fixed bug #323999 (perl 
	inline pod not properly highlighted). Based on a patch by 
	Jaap Karssenberg <pardus@cpan.org>