an alternative would be to add a checkbox in the Preferences, in Editor, in Features like:
if the editor is not in focus, the editor will be in focus when opening a document
I think this text is better in the `Preferences`, in `Editor`, in `Features`: `if sidebar or message window have focus, the editor will be in focus when opening a document`