Emit when the active editor is changed.
Emit when a new widget is created.
Emit when the current editor is changed.
The active editor. If there is an active editor (one that has focus), active and current are the same.
Retrieves all open widgets that have been opened by this handler.
all open widgets for this open handler.
The most recently activated editor (which might not have the focus anymore, hence it is not active).
If no editor has focus, e.g. when a context menu is shown, the active editor is
undefined, but current might be the editor that was active before the menu popped up.