The CodeEditor looks nice, and I’m keen to use it. Looking at the code though, I don’t see how/where it would detect defined types and be able to syntax color them?
I suppose an ideal is to parse the code (or includes, in C++ - although I’m thinking of lua) and pick out defined classes and types, maybe even instances.
I’d probably be fine with just picking out the types and global variables I’ve pre-defined - I guess that’s just subclassing a tokenizer? Is that setup for inheritance? So I can do a
BruceScriptTokenizer : public LuaTokenizer