10.02.2013 Views

SlickEdit User Guide

SlickEdit User Guide

SlickEdit User Guide

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

BUFFERS AND EDITOR WINDOWS<br />

Switching Between Buffers or Windows<br />

The method for switching the buffer or window with which you are working depends on whether you are<br />

using a one-to-one relationship between buffers and files (see the introduction to Buffers and Editor<br />

Windows). If you have selected One file per window, switching buffers and switching windows is the<br />

same thing. If you have Multiple files share a window selected, then these are two very different<br />

operations and you manipulate windows and buffers separately.<br />

There are many styles and commands for switching between buffers and windows within the editor, and<br />

we encourage you to try them out and pick the method that works best for you.<br />

Using the mouse, you can switch between editor windows by clicking on the file tabs or by using the<br />

Window menu items. By default, the active window will change when you switch to a specific file or buffer,<br />

unless the active window is already displaying the buffer you select (see Linking to a Window below).<br />

TIP For information about navigating within files, see Cursor Navigation.<br />

Next Window Style<br />

The default next window style is Smart Next Window. This style allows you to press Ctrl+Tab<br />

(next_window command) to switch the focus between the two most frequently used open editor windows,<br />

rather than always going to the next window. Press Ctrl+Shift+Tab (prev_window command) to switch<br />

between all open editor windows. This style is similar to how Ctrl+Tab and Ctrl+Shift+Tab work in other<br />

Windows MDI applications, like Visual Studio.<br />

Smart Next Window is on by default (Tools > Options > Editing > Editor Windows > Smart next<br />

window style). There are two alternatives to this behavior (note that all three options are mutually<br />

exclusive):<br />

• Reorder windows - If this option is selected, activating an existing window reinserts the window<br />

after the current window. Neither Ctrl+Tab nor Ctrl+Shift+Tab reorders the windows. This option<br />

is very good for switching between more than two files, but it is not the Windows standard (which<br />

means you’re probably not used to it). It's similar to the way <strong>SlickEdit</strong>® reorders buffers.<br />

• No window reordering - If this option is selected, newly opened windows are inserted after the<br />

current window. Activating an existing window, pressing Ctrl+Tab, or pressing Ctrl+Shift+Tab<br />

does not reorder windows. This option is best if you like to memorize the hot key numbers on the<br />

Window menu (for example, Alt+W 1) because it attempts to keep the hot key numbers the same.<br />

Buffer and Window Switching Commands<br />

The following is a list of <strong>SlickEdit</strong>® commands that you can use to switch between buffers and windows:<br />

• next_buff_tab/prev_buff_tab - Navigates through the buffer tabs (also called file tabs) in the<br />

order they are displayed. next_buff_tab moves to the right and prev_buff_tab moves to the left.<br />

Both circle around to the other end when you are on the last item. These commands are not bound<br />

to keys by default.<br />

• next_buffer/prev_buffer - Navigates through the buffers in the order they were last used. If you<br />

are using multiple files per window, then you need to use this to cycle through the buffers<br />

associated with a particular window. These commands are bound respectively to the menu items<br />

Document > Next Buffer (Ctrl+N) and Document > Previous Buffer (Ctrl+P).<br />

• forward/back - Same as next_buffer/prev_buffer. These commands are bound to the green<br />

arrows on the Standard toolbar and the forward/back mouse buttons.<br />

• next_window/prev_window - Moves between editor windows. If you are using the option One<br />

file per window (on by default), then this is the same as next_buffer/prev_buffer. If you are<br />

78 <strong>SlickEdit</strong>® <strong>User</strong> <strong>Guide</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!