Default editor hardly ever work
The default editor is "editor", which is a Unix command that typically exists but refers to a text editor working in a terminal. As a consequence, it hardly ever works for a user of the Gtk IDE with a default configuration.
It would be better to have no default editor and ask the user to configure one.
Or to detect presence of a graphical editor, but which one ? emacs ? code ? any suggestions @all ?