Adding Items to AutoComplete List on Lexer Level?

Aug 19, 2013 at 3:24 PM
Hello there,

I'm currently writing a custom Lexer for an Intellisense like dynamic Highlighter. As the logic to achieve this is quite heavy in terms of performance I would like to do the whole dynamic part on Lexer Level.

Highlighting already works, but how can I add new Items to my Autocomplete List on Lexer Level? I tried to #include AutoCompletion.h to the Lexer, but this already gives me various erros, so is this possible at all?

Greetings,
2mQ
Developer
Aug 19, 2013 at 3:50 PM
Not from a native lexer, no, it's not possible currently, not as far as I know.
Aug 19, 2013 at 3:54 PM
Hm ok,
thanks for the reply. Then I will have to parse the text twice.