View on
MetaCPAN is shutting down
For details read Perl NOC. After June 25th this page will redirect to
أحمد محمد زواوي - Ahmad M. Zawawi > Padre-Plugin-Kate > Padre::Plugin::Kate



Annotate this POD


View/Report Bugs
Module Version: 0.06   Source  


Padre::Plugin::Kate - Kate Syntax Highlighter for Padre


version 0.06


This plugin provides an interface to the Syntax::Highligh::Engine::Kate which implements syntax highlighting rules taken from the Kate editor.

Currently the plugin only implements Perl 5 and PHP highlighting.

Once this plug-in is installed the user can switch the highlilghting of all Perl 5 or PHP files to use this highlighter via the Preferences menu of Padre.


This is a first attempt to integrate this syntax highlighter with Padre and thus many things don't work well. Especially, due to speed issues, currently if you set the highlighting to use the Kate plugin, Padre will do so only for small files. The hard-coded limit is in the Padre::Document::Perl class (which probably is a bug in itself) which probably means it will only limit Perl files and not PHP files.

There are several ways to improve the situation e.g.

Highlight in the background

Only highlight the currently visible text

Only highlight a few lines around the the last changed character.

Each one has its own advantage and disadvantage. More research is needed.



This software is copyright (c) 2010 by Gabor Szabo.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

syntax highlighting: