Opened 12 years ago

Closed 11 years ago

Last modified 9 years ago

#117 closed enhancement (fixed)

Single Padre running, open file in already running Padre

Reported by: szabgab Owned by: adamk
Priority: major Milestone: Get Adam Kennedy on Padre
Component: Single Instance Version: 0.16
Keywords: Cc:


There should be an optional (??) feature to make sure there is a single Padre running.

When the single-padre mode is on, if padre is already running and someone types in padre file.txt, it should focus on the already open padre and that should open the file.

At least in Windows there should be a right-click menu option in the File browser to open a file in a new Padre or in the already running padre. (gvim does this).

Change History (7)

comment:1 Changed 12 years ago by hjansen

As far as I understood the wxWidgets docs the canonical way to achieve this would require using the classes wxServer, wxClient and wxConnection.
Unfortunately, these aren't yet wrapped by Wx...

comment:2 Changed 11 years ago by szabgab

  • Component changed from editor to External dependency

comment:3 follow-up: Changed 11 years ago by azawawi

  • Owner set to azawawi
  • Status changed from new to accepted

comment:4 in reply to: ↑ 3 Changed 11 years ago by azawawi

On windows we need to put these into the registry:

padre.bat \"%1\""

comment:5 Changed 11 years ago by azawawi

  • Owner changed from azawawi to adamk
  • Status changed from accepted to assigned

comment:6 Changed 11 years ago by jquelin

  • Resolution set to fixed
  • Status changed from assigned to closed

fixed by adamk++ around r4330

comment:7 Changed 9 years ago by szabgab

  • Component changed from External dependency to Single Instance
Note: See TracTickets for help on using tickets.