Multiple window support

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
dbrownst
Posts: 3
Joined: Tue Aug 18, 2015 4:54 pm

Multiple window support

Post by dbrownst »

I'm using an eval copy of version 3.97y, in Brief emulation mode. It appears that I can only display a single file, in at most two windows - is this true? I was hoping that Zeus would actually behave like Brief, and tile any number of windows and display any specified files in those windows. Is this not possible in Zeus? Also how can I get the F3 key to create either a vertical or horizontal split, according to the specified arrow key? If that is not possible, how can I attach a function key to the horizontal split action?

Thanks.
jussij
Site Admin
Posts: 2650
Joined: Fri Aug 13, 2004 5:10 pm

Re: Multiple window support

Post by jussij »

It appears that I can only display a single file, in at most two windows - is this true?
Actually it is one window, but with two views of that one window.
I was hoping that Zeus would actually behave like Brief, and tile any number of windows and display any specified files in those windows.

No. Zeus does not handle splitting windows as well as the original Brief and is limited to the two views of the one document.

As a once, long time Brief, I do remember how extremely well it could split windows.
Also how can I get the F3 key to create either a vertical or horizontal split, according to the specified arrow key?

You can move the split around (i.e. horizontal to vertical to horizontal etc) but there can only ever be one split at any one time.
how can I attach a function key to the horizontal split action?

The keyboard mappings are configured using the Options, Editor Options menu, using the Keyboard Mapping section and editing the Brief or BriefEx mappings.

One of the difficulties in editing the mapping is determining the name of the function that needs to be bound.

A simple way to figure the function name is to do the following:
  1. Macro Record Start/Stop menu
  2. Window Split Vertical menu
  3. Macro Record Start/Stop menu
  4. Macro View Source menu
Performing these actions will display this macro source code:

Code: Select all

function key_macro()
    screen_update_disable()
    WindowViewSplitVert()
    screen_update_enable()
    screen_update()
end

key_macro() -- run the macro
From that source code you can see that the WindowViewSplitVert is the function that you need to re-bind.

If you find you need more power, you can also create a macro script and bind that to the keyboard instead.

Cheers Jussi
Post Reply