SlickEdit Community

Archived Read Only Forums => SlickEdit 2013 v18 beta => Topic started by: xj97 on June 13, 2013, 02:58:36 pm

Title: gui-open with tabs
Post by: xj97 on June 13, 2013, 02:58:36 pm

Using SE 18 / Beta 7 / win64 / Brief Emulation / One file per window, I have my screen split into two vertically.

On the left side, I am viewing File B and there is a tab buried somewhere that contains File A. If I activate the right-hand window and attempt to open File A using either gui-open or selecting a symbol via the activate-find-symbol menu, it changes my active window to the left side instead of opening the file in the active right side.

Is there a new way to open this file again on the right side (other than right-clicking the tab and telling it to move to another tab group), or any chance of the old behavior being restored?

Title: Re: gui-open with tabs
Post by: davehohl on June 13, 2013, 04:42:21 pm
I was annoyed by this also. The only way I found to have the same file open in both tab groups is do a split vertical on the file tab and then drag it into the right tab group. It would be nice if when you are in a different tab group and try to open a file SE automatically opened a new tab in the current group.
Title: Re: gui-open with tabs
Post by: Clark on June 13, 2013, 05:34:51 pm
This is undocumented but should do the trick. We may add this to the GUI at some point. It has MANY options including an option for making SlickEdit act exactly like visual studio ('N' - option but Smart next window style must be set to "Smart next window").

Create a macro file with the code below in it. Then run the command that it defines to change the find window option. This change won't move a document tab from one tab group to another but it will allow for duplicates to be created in the current tab group automatically.

#include ""
_command void set_find_window_options_my_way()
   // This is the default setting
   // Visable current tab Group, Visible current Mdi window
   // Visable Anywhere, current tab Group, current Mdi window, Anywhere
   // This is what you want
   // current tab Group

   // Indicate config changed so option gets saved