Code::Blocks Forums

Developer forums (C::B DEVELOPMENT STRICTLY!) => Development => Topic started by: siauderman on April 09, 2011, 06:46:38 pm

Title: Syntax highlighting for Java
Post by: siauderman on April 09, 2011, 06:46:38 pm
Not sure if anyone else has done this but here is an xml file and sample for Java syntax highlighting.
Title: Re: Syntax highlighting for Java
Post by: killerbot on April 09, 2011, 06:54:57 pm
great, we can add it.
Title: Re: Syntax highlighting for Java
Post by: Folco on April 10, 2011, 09:15:54 am
What is the lexer used ? The same that for C++ ?
It shouldn't be submitted to Scintilla devs ?
Title: Re: Syntax highlighting for Java
Post by: MortenMacFly on April 10, 2011, 09:43:37 am
It shouldn't be submitted to Scintilla devs ?
No, as lexers are Code::Blocks specific.
Title: Re: Syntax highlighting for Java
Post by: siauderman on April 10, 2011, 06:32:42 pm
Yes, it uses the C++ engine but only changes the keywords.