I come from China, my English is not good. I try out sublime text 2 bate build 2150 version. But how to use the grammar analysis interface it? Because I need throughout the document analysis grammar, syntax tree construction. The grammar generation not a static snippet files, also not be tmlanguage files. I need the process of writing to dynamic analysis and hints. Because in sublime_plugin.EventListener class I can't detect user input. So I don't know the change of view buffer text. I tried to on_query_completions call back method, but it needs input Tab key when it was called. Not as input character was called. If so when I pressed Tab key, I can know some object methods and properties.
I think can provide use Python or C++ interface, let me can use a thread to construct the current
syntax tree or is there any better way?