Transient, Sticky, and Locked Editors

Index of All Documentation » Wing Pro Reference Manual » Source Code Editor »

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 -- In Wing Pro and Wing Personal, 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.