[fixed] opens a new instance when it is called with -g flag

Report Bugs Here

[fixed] opens a new instance when it is called with -g flag

Postby vds2212 » Mon Nov 23, 2009 6:51 am

Dear Cody and Editra developers,

I want to use the -g flag to synchronize IPython and Editra.
It works well when no instance of Editra exist.

But when an existing Editra exist the command:
Code: Select all
Editra.exe -g plus.py

Launch a new Editra instance with a blank document.

I'll be glad if instead:
1. it could reuse the existing Editra instance create a new tab for the file referenced or make the corresponding tab active if the file referenced is already loaded and
2. move the cursor to the referenced line.

I run Editra 0.5.15 on Windows XP.

Yours,
Vivian De Smedt.
vds2212
User
 
Posts: 29
Joined: Mon Nov 17, 2008 2:44 pm

Re: Editra open a new instance when it is called with -g flag

Postby cody » Tue Nov 24, 2009 1:04 am

Hi,

The first issue should be fixed (pending further testing).

The second issue is that the passing of other commands from one process to another has not yet been implemented. Will see about getting it for the next release as it is something that I meant to do a long while ago and forgot about it till now.


Cody
User avatar
cody
Site Admin
 
Posts: 1315
Joined: Mon Oct 09, 2006 2:49 am
Location: United States

Re: Editra open a new instance when it is called with -g flag

Postby vds2212 » Tue Nov 24, 2009 4:52 am

Hi Cody,

Thanks for your quick answer.
I will wait impatiently for the new release :-)

Vivian.
vds2212
User
 
Posts: 29
Joined: Mon Nov 17, 2008 2:44 pm

Re: Editra open a new instance when it is called with -g flag

Postby cody » Sun Dec 13, 2009 5:37 pm

-g can now be passed between running instances of Editra.

Support for others can be added easily but only did -g for now as other current command line switches didn't seem necessary.
User avatar
cody
Site Admin
 
Posts: 1315
Joined: Mon Oct 09, 2006 2:49 am
Location: United States

Re: Editra open a new instance when it is called with -g flag

Postby vds2212 » Fri Dec 18, 2009 7:47 am

It seems to work like a charm :-)

Thank you!
Vivian.
vds2212
User
 
Posts: 29
Joined: Mon Nov 17, 2008 2:44 pm


Return to Bug Reports

Who is online

Users browsing this forum: No registered users and 1 guest

cron