Developer forums (C::B DEVELOPMENT STRICTLY!) > CodeCompletion redesign
inspiration
LRN:
Yeah, Scintilla really takes care.
Just look at this. 2001, more than 5 years ago.
Scintilla needs external lexer to highlight something. I looked in lexer_cpp.xml from C::B.
--- Code: --- <!-- Secondary keywords and identifiers -->
<Set index="1"
value=""/>
--- End code ---
Ugh-oh. Now i know, that there IS such capability. It's just that the parser, required to obtain a keyword list, resides outside PC :)
thomas:
--- Quote from: LRN on July 10, 2007, 04:28:02 am ---Yeah, Scintilla really takes care.
Just look at this. 2001, more than 5 years ago.
--- End quote ---
Well you see... thing is we still use Scintilla :)
While it does have issues here and there, it mostly works for most things most of the time, contains most features one needs out of the box implemented as core functionality, and it's almost zero-config, zero-maintenance.
Having syntax highlighting done by the code completion parser is undesirable in several ways. Sorry, but there's no going for that at the present time or at the conceiveable future.
LRN:
--- Quote ---Having syntax highlighting done by the code completion parser is undesirable in several ways
--- End quote ---
No, from what i learned about Scintilla, you could use it for more advanced highlighting. You just have to provide keywords, wich you could just take from parser. And maybe define a new keyword set, since you'll need at least two - for function calls and for macros.
Navigation
[0] Message Index
[*] Previous page
Go to full version