Page 1 of 1

Tabbed windows

Posted: Fri Jul 12, 2013 6:01 pm
by jmckay123
How do I configure Zeus so that each file I have loaded shows up as a tab at the top of the screen? I had this working on my old machine but when I re-installed on a new machine the feature is gone.

Posted: Sat Jul 13, 2013 2:45 am
by jussij
View, Document Bar menu ;)

Cheers Jussi

Posted: Sat Jul 13, 2013 4:39 am
by jmckay123
Thanks. Now it's displaying each file in it's own windows on the screen. That's not what I want - I just want to see one file at a time, and select the file that I want to see from the tabs.

Posted: Sat Jul 13, 2013 7:15 am
by jussij
Use the Options, Editor Options menu and in the General section select the Create maximised option ;)

Cheers Jussi

Posted: Tue Jul 16, 2013 12:44 am
by jmckay123
Thanks again. Sorry I can't figure this stuff out by myself, but here is one more: how do I prevent Zeus from inserting it's own code when editing a .c file, and I type in a keyword like "if" or "while"?

Posted: Tue Jul 16, 2013 1:24 am
by jussij
how do I prevent Zeus from inserting it's own code when editing a .c file, and I type in a keyword like "if" or "while"?
What you are seeing is the Zeus smart templates feature.

A template is a user defined piece of code attached to a keyword. You can see these templates in the Templates section of the Navigator on the left, or by using the Options, Templates menu.

So for example the if template is defined as follows and is bound to the if keyword:

Code: Select all

if (\c)
{
\t$Marked
}
When you type the keyword if, that keyword is replaced by the template above.

To turn off these smart templates just use the Options, Document Types menu to edit the C/C++ document type and in the Templates section turn off the Smart templates option.

Cheers Jussi