code-google-com / editra-plugins

Automatically exported from code.google.com/p/editra-plugins
0 stars 0 forks source link

[project] Open file in new window #160

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
The project plugin is not consistent with Editra file open behaviour if you 
have "open files in new window" configured. 

I have attached a patch against the latest svn checkout that fixes this. I have 
tested it as best I could and haven't been able to spot any problems with or 
without "open files in new window" configured.

If a file is already loaded, the window containing the file is raised and the 
tab it's in is given focus.

Original issue reported on code.google.com by ivdneut@gmail.com on 6 Feb 2011 at 3:29

Attachments:

GoogleCodeExporter commented 9 years ago
The original patch will open a file in a new window even when the current tab 
is empty. Apply this patch on top of the original one to fix.

Original comment by ivdneut@gmail.com on 7 Feb 2011 at 7:12

Attachments:

GoogleCodeExporter commented 9 years ago
Hi,

I believe that ignoring the open files in new window option is intentional as 
each window has its own copy of the Projects manager. So the actions are 
intended to be window centric the window that owns that instance of the Project 
pane.

Will further investigate though if you think it should follow that option.

Thanks,
Cody

Original comment by CodyPrec...@gmail.com on 18 Feb 2011 at 9:03

GoogleCodeExporter commented 9 years ago
Well, I'm of the opinion that files should always open in a new
window, because I hate tabbed editors. So I'm probably too biased to
have a say in it ;-)

Perhaps it could be a configurable option with the default set to
opening in a new tab. If you want I can look into this and provide
another patch and provide a checkbox or something in the projects
plugin configuration dialog.

Thank you for considering it.

Ian.

Original comment by ivdneut@gmail.com on 19 Feb 2011 at 9:19