Tuesday, 17 April 2012

Re: [GeSHi-devel] tools for writing/testing language file

On 15 April 2012 09:45, Benny Baumann <BenBE1987@gmx.net> wrote:
> Am 11.04.2012 21:28, schrieb Carnë Draug:
>> Hi
>>
>> I've been trying to write a language file for the octave language. I
>> have read the documentation but still have some doubts on the syntax.
>> I was wondering if there's some tool/text editor where I could
>> easily/quickly test the file as I develop it.
> There are two options:
> 1. Use the code samples directory for putting your files in and calling
> the runtests script. There's an ?lang=yourlangfile option to only
> highlight sources of a given source lange.
> [...]
>
> In both cases just put the language file in the directory where all the
> other language files are. Upon saving just reload in your webbrowser and
> GeSHi will pick up the modified language file when highlighting the
> source again. Be sure to use something that doesn't cache (the runtests
> script does not and thus is suited for it).

The code samples directory? I was looking around and found
example.php, is this what you meant? It seems to work perfectly for
me, it's exactly what I was looking for.

For future reference, all I needed to do was to unpack the source on
my server path and point the browser to the contrib/example.php. It
picked the language files automatically from geshi/. Maybe this could
be added to the manual, it's a big help for me.

Thank you very much for your help and hopefully you'll hear from me
with a contribution son,
Carnë

------------------------------------------------------------------------------
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev
_______________________________________________
geshi-devel mailing list
geshi-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geshi-devel

No comments:

Post a Comment