Untitled


Home » Support » Index of All Documentation » Wing IDE Reference Manual » Source Code Editor »

<date>$Date: 2014-03-19 16:21:34 -0400 (Wed, 19 Mar 2014) $</date> <version>$Revision: 30955 $</version> <product>all</product>

Wing can open files in several modes that control how and when files are closed:

Transient Mode -- Files opened when searching, debugging, navigating to point of definition or point of use, and using the Project or Source Browser tools with the Follow Selection checkbox enabled are opened in transient mode and will be automatically closed when hidden.

The maximum number of non-visible transient files to keep open at any given time can be set with the Editor / Advanced / Maximum Non-Sticky Editors preference.

Sticky Mode -- Files opened from the File menu, from the keyboard file selector, or by double clicking on items in the Project or Source Browser tools will be opened in sticky mode, and are kept open until they are explicitly closed.

Locked Mode -- When multiple splits are visible, a third mode is available where the file is locked into the editor. In this case, the editor split is not reused to display any newly opened or visited files unless no unlocked splits are present.

A file can be switched between these modes by clicking on the stick pin icon in the upper right of the editor area.

Right-click on the stick pin icon to navigate to files that were recently visited in the associated editor or editor split. Blue items in the menu were visited in transient state and black items were sticky. Note that this differs from the Recent area in the File menu, which lists only sticky file visits and includes visits for all editors and editor splits.

Transient files that are edited are also automatically converted to sticky mode.

« 4.3. File status and read-only filesTable of Contents4.5. Auto-completion »