GNOME Bugzilla – Bug 323999
perl inline pod not properly highlighted
Last modified: 2005-12-30 14:35:24 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.
Below the diff for perl.lang to fix this < <start-regex>^=pod</start-regex> --- > <start-regex>^=\w+</start-regex>
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>