How could I get a list of keywords used by current language of an opened document ?
I wish to test if a given word is in the list of keywords.
I found "editor.describeKeyWordSets()"
It returns only 'Keywords\nOperators\nAttributes\nStandard Functions\nStandard Packages\nStandard Types\nUser Words'
Unfortunately there's no way to ask scintilla for the keyword list. You could look it up in langs.xml though - it's not perfect as if it's just been changed (and N++ has not been restarted), then langs.xml won't reflect the real state of the keywords.
Thanks for answer. I have copied/pasted those keywords in my script.