View on
גאבור סבו - Gábor Szabó > Padre-Plugin-Kate-0.03 > Padre::Plugin::Kate



Annotate this POD


View/Report Bugs
Module Version: 0.03   Source   Latest Release: Padre-Plugin-Kate-0.06


Padre::Plugin::Kate - Using the Kate syntax highlighter


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 even 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.


Copyright 2009 Gabor Szabo.


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

syntax highlighting: