Split horizontal disappears

Get help with the installation and running of the Zeus IDE. Please do not post bug reports or feature requests here. When in doubt post your question here.
Post Reply
E Programmer
Posts: 38
Joined: Thu Apr 07, 2005 7:07 pm

Split horizontal disappears

Post by E Programmer »

Hi .. using 3.94a

I often use the Split Horizontal.

If I have the documents maximized:
I split a document
go to another document
when I return, the split document has been joined :(

If I have the documents cascaded on the screen.
I split a document
I split another
I can go between documents and the splits remain.
I can maximize the documents and the splits remain.
If I split additional documents while maximized, and move away, they lose the split BUT the documents I split before maximizing... KEEP their split!!

Is there a way to keep splits?
I could write a macro such as
restore document
horizontal split
maximize document
then could I replace the split horizontal icon with the macro?
E Programmer
Posts: 38
Joined: Thu Apr 07, 2005 7:07 pm

Post by E Programmer »

I just noticed.

If I open a document (maximized) Zeus retains the Split Horizontal information. It only looses the info if it is a document that automatically opens when I start Zeus. ... An I have Zeus set to load the documents that were open when I closed Zeus. So another script could be...

On closing zeus... write filenames to a file
On opening zeus... open each filename from the file

But this is what zeus is doing :shock:
jussij
Site Admin
Posts: 2650
Joined: Fri Aug 13, 2004 5:10 pm

Post by jussij »

I split a document go to another document when I return, the split document has been joined

This is a consequence of the way Windows MDI and the splitter bar work.

For reasons only known to Microsoft, all MDI windows get resized whenever they are send to the back of the z-order.

Now the splitter bar is also designed to allow the user to remove the split by dragging the bar to one of the extreme edges.

Put these two things together and you have a situation where the split can be removed be a resize.

To see this in action create a cascaded document window and split that document.

Now resize the document window and you will notice the splitter bar gets closer to the edge of the window.

If you continue to reduce the size of the window the splitter bar will hit the edge and the split will be removed entirely.

Cheers Jussi
Guest

Post by Guest »

I see how that works. But what I find interesting is this

If I open a file while Zeus is running, the split remains no matter what I do. BUT if the file was opened automatically when I run Zeus, the split often disappears.

Try this

Open Zeus, with it opening 2 files automatically: A.txt B.txt
Maximize A. Split A, go to B, back to A [not split...bad]

Cascade A. Split A. Maximize A. goto B. Back to A. [Split, good] Join A, Split A, goto B, Back to A [not split... bad]

Open Zeus, with no open files.
Open A.txt B.txt
Maximize A. Split A, go to B, back to A [Split good] Join A

Cascade A. Split A. Maximize A. goto B. Back to A. [Split, good] Join A, Split A, goto B, Back to A [Split, good]


In this second instance, I cannot get Zeus to lose the split window. So there must be a different way windows is treating a window that is automatically opened and one that is opened after the program has been started.
Post Reply