First time here? Check out the FAQ!
1

Transient/non-sticky mode - what is Hidden/auto-close

A very minor question.

I've just decided (after some years) to refresh my knowledge of Wing (Pro6) by going through the latest tutorial.

got to "Transient, Sticky, and Locked Files - Wing opens files in one of several modes in order to keep more relevant files open, while auto-closing others. To see this in action, right-click on os in import os at the top of example1.py and select Goto Definition. The file os.py will be opened non-sticky, so that it is automatically closed when hidden."

my question - What defines 'hidden' (or auto-close in this context). Having opened a a module file R/O it stays as a tab in the editor until I close it in the same manner as other files(only with a horizontal pin!) .

What am I missing ??

ps . It's a good idea to redo the tutorial - I'd forgotten a lot of detail.

iainrs's avatar
71
iainrs
asked 2018-02-25 12:30:00 -0600
Wingware Admin's avatar
231
Wingware Admin
updated 2019-03-13 08:35:24 -0600
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

1

Indeed, this part of the tutorial needs to be clarified... what happens is that up to N non-sticky files are kept open in non-current tabs, where N is set with the Editor > Advanced > Maximum Non-Sticky Editors preference.  The default for that is 1 right now but we're going to test increasing it to 5 in Wing 7 so there's a small set of recent non-sticky files kept open instead.

Wingware Support's avatar
4.2k
Wingware Support
answered 2018-02-25 19:22:00 -0600
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss.

Add Answer