Fix so `@edit` works on windows with the default editor + line number is
printed to the user when it is not passed to the editor.
Merge pull request #8725 from dhoegh/fix_find_source_file

Fix so windows opens the default editor when `@edit` is used