Author Topic: Syntax highlighting for Java  (Read 8807 times)

Offline siauderman

  • Single posting newcomer
  • *
  • Posts: 5
    • http://
Syntax highlighting for Java
« 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.

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5529
Re: Syntax highlighting for Java
« Reply #1 on: April 09, 2011, 06:54:57 pm »
great, we can add it.

Offline Folco

  • Regular
  • ***
  • Posts: 343
    • Folco's blog (68k lover)
Re: Syntax highlighting for Java
« Reply #2 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 ?
Kernel Extremist - PedroM power ©

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9723
Re: Syntax highlighting for Java
« Reply #3 on: April 10, 2011, 09:43:37 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: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline siauderman

  • Single posting newcomer
  • *
  • Posts: 5
    • http://
Re: Syntax highlighting for Java
« Reply #4 on: April 10, 2011, 06:32:42 pm »
Yes, it uses the C++ engine but only changes the keywords.