גאבור סבו - Gábor Szabó > Syntax-Highlight-Engine-Kate-0.09 > Syntax::Highlight::Engine::Kate::Convert::ToolKit

Download:
Syntax-Highlight-Engine-Kate-0.09.tar.gz

Dependencies

Annotate this POD

Website

CPAN RT

New  8
Open  0
View/Report Bugs
Module Version: 0.07   Source  

NAME ^

Syntax::Highlight::Engine::Kate::Convert::ToolKit - helper routines, especially for generating highlight definitions from Kate's originals.

SYNOPSIS ^

  use Syntax::Highlight::Engine::Kate::Convert::ToolKit;

  $hlfile = "/some/path/some-lang.xml";
  $toolkit = new Syntax::Highlight::Engine::Kate::Convert::ToolKit();
  # $toolkit->outcmd = sub { ... };  # optionally redefine bare output
  $outfile = $toolkit->register($hlfile);
  $toolkit->pmGenerate($outfile);

DESCRIPTION ^

ToolKit module carries helper routines, notably conversion from native highlight definitions of Kate to the ones as used by Syntax::Highlight::Engine::Kate.

For convenience, such conversion process is wrapped into provided hl-kate-convert script.

syntax highlighting: