Developing new Plugin - get switching tab event
- 
 Hi, I’m new here and I’ve just started the development of a new plugin. The first version I’m working on I hide and show lines when selecting commands. These commands stay selected. Now, when I change to another tabs the commands in the plugin stay selected if the where in the previous tab. How can I keep the state of every tab so each one show its status? Thanks 
- 
 you are looking for bufferactivated event. 
 One way to track this is to use setproperty and its get variant.
 Or you do write your own document management.
