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
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.
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.