Description
In some operating system (especially Windows) allows people to browse the file-system right-click on a file and either 'open with application' or 'open with running instance of Application'. The latter will open the file in a an already running instance of Padre.The same will happen if you launch padre again when it is already running.
Test
- Start Padre
- In Tools -> Preferences -> Behaviour: Enable Open Files in existing Padre
- Restart Padre
- Open a file via Ctrl+O
- In the command line of your operating system (Cmd in Windows) type {{{padre SOME_FILE}}}
- Observe the file opened in the same instance of Padre as you had earlier
- Now disable Open Files in existing Padre
- Restart Padre
- In the command line of the OS type again {{{padre SOME_FILE}}}
- Observe that it start a new instance of Padre with the selected file open in it.