When an editor is opened, C::B generates cbEVT_EDITOR_DEACTIVATED if already open editor, then cbEVT_EDITOR_ACTIVATED then cbEVT_EDITOR_OPEN
Yes, Deactivated means "editor still open, but another one got active".
I was expecting: cbEVT_EDITOR_DEACTIVATED if already open editor, cbEVT_EDITOR_OPEN then cbEVT_EDITOR_ACTIVATED
example 1 , we have three files, A, B and C.
Now, A is already opened and the only active editor. B and C are not opened, so there is only one tab.
Action: If B is opened and activated, I expect the command sequence is:
cbEVT_EDITOR_DEACTIVATED of A
cbEVT_EDITOR_OPEN of B
cbEVT_EDITOR_ACTIVATED of B
example 2 , we have three files, A, B and C.
Now, A and B is already opened and A is the active editor. C are not opened.
Action: If B is activated, I expect the command sequence is:
cbEVT_EDITOR_DEACTIVATED of A
cbEVT_EDITOR_ACTIVATED of B
Am I right??