@omz, it would be nice if editor.open_file(name) could open in a new tab instead of the active tab when called from the tools menu.
The documentation for this method is a bit misleading for me. When I read it I was under the impression I could not pass a absolute file spec as a param, but I could.
Help text:
editor.open_file(name)
Open the file with the given name in the editor.
name is just a file name of a script in the library, not an absolute path.
The .py extension can be omitted. The file that is currently open in the editor will automatically be saved.