Author Topic: [Suggestion] C/C++ syntax highlighting options.  (Read 4747 times)

Offline Raindog

  • Multiple posting newcomer
  • *
  • Posts: 17
[Suggestion] C/C++ syntax highlighting options.
« on: May 16, 2007, 01:39:49 am »
Can these be better expanded upon? I would like options for function, Types, namespaces, local variables, enums

Offline Game_Ender

  • Lives here!
  • ****
  • Posts: 551
Re: [Suggestion] C/C++ syntax highlighting options.
« Reply #1 on: May 16, 2007, 01:57:59 am »
They are a property of editor, Scintilla.  You should investigate its capabilities. I don't know whether you can enhance the lexer's at all.

Offline Raindog

  • Multiple posting newcomer
  • *
  • Posts: 17
Re: [Suggestion] C/C++ syntax highlighting options.
« Reply #2 on: May 16, 2007, 03:54:56 am »
You can indeed enhance it's lexers and create your own too. The problem is just parsing C++ code which appears to have been successfully done in a more detailed manner by the symbol viewer window to the left of the screen.

Offline dmoore

  • Developer
  • Lives here!
  • *****
  • Posts: 1576
Re: [Suggestion] C/C++ syntax highlighting options.
« Reply #3 on: May 16, 2007, 03:58:10 am »
lexer != parser    :)