(→How to Close the Current File (Buffer)) |
|||
| Line 29: | Line 29: | ||
==Related Resources== | ==Related Resources== | ||
| − | *[[ | + | *[[Editing_Multiple_Files|Editing Multiple Files Overview]] |
*[[Main_Page#section-editing|Edit EBCDIC, ASCII, ANSI, Hex, Text and Multiple Files]] | *[[Main_Page#section-editing|Edit EBCDIC, ASCII, ANSI, Hex, Text and Multiple Files]] | ||
| + | *[[Main_Page|Wiki Home]] | ||
The easiest way to close a file, without exiting vEdit, is to double click the window’s icon; this is the same as selecting WINDOW > Close (Ctrl-F4). If this is the only window displaying the file, which is the typical case, it closes the file and the corresponding buffer.
If a file is displayed in two or more windows, WINDOW > Close does not close the file until you close its last window.
Alternatively, you can select FILE > Close ( Ctrl-W ) to close the current buffer, saving or abandoning any file in it. It also closes all windows attached to the buffer. In the typical case where each file is displayed in only one window, FILE > Close and WINDOW > Close are identical.
vEdit always keeps one buffer and window open. If you attempt to close the last window, it only closes the file. The last buffer and corresponding window will remain open, but will be empty
Use FILE > Exit when you are ready to exit vEdit. It will let you selectively save or abandon each modified file, or save/abandon all files.
You can also close a file by double-clicking the mouse on the window’s left-side icon. This is equivalent to WINDOW > Close.
WINDOW > Remove lets you close any window without first switching to it. Its primary purpose is to close (remove) special “Command mode” windows that were created in the vEdit macro language or with WINDOW > Split.