1Syntax::Highlight::EngiUnsee:r:SKCyaontnteta:rx:i:Cb:ouHntivegedhrltPi:eg:rhTlto:oD:loEKcniugtmi(en3ne)t:a:tKiaotne::Convert::ToolKit(3)
2
3
4
6 Syntax::Highlight::Engine::Kate::Convert::ToolKit - helper routines,
7 especially for generating highlight definitions from Kate's originals.
8
10 use Syntax::Highlight::Engine::Kate::Convert::ToolKit;
11
12 $hlfile = "/some/path/some-lang.xml";
13 $toolkit = new Syntax::Highlight::Engine::Kate::Convert::ToolKit();
14 # $toolkit->outcmd = sub { ... }; # optionally redefine bare output
15 $outfile = $toolkit->register($hlfile);
16 $toolkit->pmGenerate($outfile);
17
19 ToolKit module carries helper routines, notably conversion from native
20 highlight definitions of Kate to the ones as used by
21 Syntax::Highlight::Engine::Kate.
22
23 For convenience, such conversion process is wrapped into provided hl-
24 kate-convert script.
25
26 This module requires XML::Dumper and XML::TokeParser which are not
27 listed as dependencies of Syntax::Highlight::Engine::Kate.
28
29
30
31perl v5.34.0 Syntax::2H0i2g2h-l0i1g-h2t1::Engine::Kate::Convert::ToolKit(3)