Re: [Anjuta-list] Customized highlight style



> 
> Is it possible to create your (my) own customized highlight style for
> new programming languages, in Anjuta 1.0.0?

Definite yes - but it's not very simple.

> 
> If so, how?

Anjuta uses (mostly) the Lexers provided with Scintilla. You'll need to
write a Lexer for your language and patch the sources to use the lexer.
You'll also need a properties files for things like keywords, etc.
(unless you want to hardcode everything). You can read up about
Scintilla at http://www.scintilla.org/ScintillaDoc.html and about
writing lexers at http://www.scintilla.org/Lexer.txt. You can also look
at the lexers provided with Scintilla by default as examples.

Hope this helps.

Rgds,
Biswa.

> 
> Thanks
> 
> --
> Wei Weng
> Network Software Engineer
> KenCast Inc.
> 
> 
> 
> 
> -------------------------------------------------------
> This sf.net email is sponsored by: See the NEW Palm
> Tungsten T handheld. Power & Color in a compact size!
> http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en
> _______________________________________________
> Anjuta-list mailing list
> Anjuta-list lists sourceforge net
> https://lists.sourceforge.net/lists/listinfo/anjuta-list
> 
> 






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]