Author Topic: I have many files open but want split the screen with 2 of them. HOW?  (Read 5026 times)

JimmieC

  • Senior Community Member
  • Posts: 508
  • Hero Points: 17
SE v16.0.3.0
I have many files open but want split the screen with 2 of them WITHOUT closing all the other files in my session. I can cascade, tile, or tile horizontal but that just fills the screen with many small windows. Tile horizontal doesn't seem to do anything unless you only have 2 files open. If I close all of the other files and then tile or tile horizontal, I get what I wanted. But this is professional's editor where users routinely have many files open. Closing all of the other files first is NOT an option. I am pretty sure there is already a way to do this. I find new capabilities all the time.

Regards,
Jim

Dan

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 2929
  • Hero Points: 153
Re: I have many files open but want split the screen with 2 of them. HOW?
« Reply #1 on: February 06, 2014, 01:36:33 PM »
It sounds like you may want to go to Tools>Options>Editing>Editor Windows and change "Files per window" to "Multiple files share window".  Then you could run "one-window" and go to Window>Split horizontally and get the window layout you want, and then use the files tool window to select the current file in each window.

JimmieC

  • Senior Community Member
  • Posts: 508
  • Hero Points: 17
Re: I have many files open but want split the screen with 2 of them. HOW?
« Reply #2 on: February 06, 2014, 02:44:46 PM »
I can give that try. I kind of knew that SE supports the display buffer model. That was popular in older editors, Boxer DOS and Boxer TKO for example. I really liked the Boxer DOS editor in its day.

But, more often these days everyone seems to have migrated to tabbed documents (I guess this is the MDI interface?). This should be achievable in the MDI world also. The standard Microsoft implementation is quite hokey. You have to minimize all of the windows you are not using (so actually tabbed may not be MDI because they don't each have their own dialog boundary). After minimizing the ones that you don't want in the tile, then you activate the tile and the two files are tiled. This is ruined by the fact that all of the minimized files are using valuable screen space at the bottom. Microsoft apps already always annoyed me by not fixing this over the years.

An appropriate Microsoft example is available in Windows XP. If you have many applications open, you can hold down the Ctrl key and then left-click on two of the task bar icons, then right-click and select tile. Only those two applications will be tiled on screen.

So, I am really looking for something in the tabbed document interface that works like the XP example I provided.

Regards,
Jim

Phil Barila

  • Senior Community Member
  • Posts: 745
  • Hero Points: 61
Re: I have many files open but want split the screen with 2 of them. HOW?
« Reply #3 on: February 06, 2014, 03:54:13 PM »
SE v16.0.3.0
v18 introduced a new MDI that is probably very close what you are looking for.  v19 will (probably) be in Beta sometime soon.
Phil

MindprisM

  • Senior Community Member
  • Posts: 127
  • Hero Points: 8
Attached is code for this, just remove the few functions that rely on winact_...
and assign the keys to what works for you.