wiki:Features/SingleInstance

Version 1 (modified by szabgab, 3 years ago) (diff)

--

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.

Related: #117, #313, #1138

Test

  1. start Padre
  2. "Tools" -> "Preferences": enable "Open Files in existing Padre"
  3. restart Padre
  4. type padre SOME_FILE in the command line (should open in the same instance of Padre)
  5. "Tools" -> "Preferences": disable "Open Files in existing Padre"
  6. restart Padre
  7. type padre SOME_FILE in the command line (should start a new instance of Padre)

TODO