NAME
Padre::Plugin::Kate - Kate Syntax Highlighter for Padre
VERSION
version 0.06
SYNOPSIS
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.
LIMITATION
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.
AUTHORS
Gabor Szabo http://szabgab.com/
Ahmad M. Zawawi <ahmad.zawawi@gmail.com>
COPYRIGHT AND LICENSE
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.