asamuzaK / withExEditorHost

Native messaging host for withExEditor
MIT License
33 stars 8 forks source link

editor args for Notepad++ / "Editor State Unknown" #99

Closed Pierre-de-la-Verre closed 3 years ago

Pierre-de-la-Verre commented 3 years ago

Win 10, Firefox 85, current notepad++

I had the old version 2.7 installed, downloaded the current zip and unzipped it into a new folder. Then I ran "index setup" - Firefox - yes - yes - editor path - editor args: <????>

At first I entered nothing, in second trial I entered "''" - both ended with ..

Which args to I need for Notepad++? Is it defined somewhere?

Regards!

asamuzaK commented 3 years ago

Can I close this as dupe of #100 ?

Pierre-de-la-Verre commented 3 years ago

These are two (connected) points - #100 is only for the file-path, this here is for the next input. It seems that the main problem is caused by #100 , but a common info (help) for this input would also be helpful for the users.

asamuzaK commented 3 years ago

If you don't need the command arguments, just press Enter key.

Added a confirmation Execute editor with command line options? [y/n]:, and if yes then prompt.

Pierre-de-la-Verre commented 3 years ago

Thanks, works fine for me.