Files and Windows
The application supports two independent features:
- Multiple files
- Multiple windows
A loaded file can be displayed in one or more windows.
Usually, a text editor has only one window per file. When you want to open a file that is already opened, it just brings its window to front. Code Browser loads a file only once but several windows can be opened on it.
1. Opening a File
The Open command from the File menu opens a file in a new window. If this file is already loaded, it is not reloaded.
2. Viewing Loaded Files
The Files command from the File menu shows all loaded files and allows to open or re-open a file in a new window.
3. Closing a Window
Use the Close command from the Window menu to close the active window. This command unloads a file only if it is not used in another window.
If you close a window with a modified file, you will be asked to save changes but in some case it does not happen. Don't panic. The file is referenced somewhere else (in a search result, from another window...). Just use the File manager to reopen the file. You'll will be asked to save it anyway when exiting.
4. Cloning a Window
Use the Clone command from the Window menu to create an exact copy of the active window: the new window will have the same layouts that display the same sections in panes.
5. Reloading a File
A file can be reloaded when it is modified by another application. The reload-mode in options can change the behavior when an external file change is detected:
- never: never reload
- ask: ask before reload
- always: reload without asking unless the file is modified