Hi, All!
On 9/4/07, David Sitsky <dav...@gm...> wrote:
> Glad to hear you are still working on it - once you have Codestriker
> working with an external highlighter, I'm sure you'll make a lot of
> people very happy - myself included!
OK, I've posted next generation on SF's patch page (patch number 1742781):
http://sourceforge.net/tracker/?group_id=41136&atid=429862
Here are some open problems:
1. I've not check its work under mod_perl so external highlighters
probably are not callable(according to comments in execute_command{}
of Codestriker.pm).
2. I've tried to use some other external highlighters
(http://www.andre-simon.de/) but they are not linewise;
3. Highlighter processes could stay in memory after block highlighted
so mod_perl (even if not run into first problem) is probably not the
best choise for use with highlighted codestriker.
All these problems came from the need of linewise filtering; lines are
being rendered one by one. To avoid these problems we should render
all the lines in a block at once. By passing several line to external
highlighter at once we could increase number of programs we work with.
Comments are welcome.
Yours,
--
Nikita V. Borodikhin, System Administrator NIKB-RIPN BNV7-RIPE
Registered Linux user #256562 with the Linux Counter
|