Event when selecting another tab
-
I want to know that another document is selected. I will get the document type by file extension. I will open other configuration files.
-
NPPM_ACTIVATEDOC
-
the events are the one which start with NPPN_ as described here, the one you are looking for, as long as I have correctly understood your question, is NPPN_BUFFERACTIVATED
-
Yes, @Ekopalypse is right,
NPPN_BUFFERACTIVATED is the notification,
NPPM_ACTIVATEDOC is the command message to switch to another doc.Thank you @Ekopalypse .
BR
-
It works as it should. Made a AutoCompletion
https://yadi.sk/d/vaY4MCn3D_OBMw