News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

Syntax highlighting for Java

Started by siauderman, April 09, 2011, 06:46:38 PM

Previous topic - Next topic

siauderman

Not sure if anyone else has done this but here is an xml file and sample for Java syntax highlighting.

killerbot


Folco

What is the lexer used ? The same that for C++ ?
It shouldn't be submitted to Scintilla devs ?
Kernel Extremist - PedroM power ©

MortenMacFly

Quote from: Folco on April 10, 2011, 09:15:54 AM
It shouldn't be submitted to Scintilla devs ?
No, as lexers are Code::Blocks specific.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

siauderman

Yes, it uses the C++ engine but only changes the keywords.