Open jisaacks opened 11 years ago
@jisaacks You can from collections import defaultdict
and store window.id()
with its status.
Maybe related with: https://github.com/SublimeTextIssues/Core/issues/2919
Probably fixed by explicitly calling window.set_focus()
after window.set_layout()
which has been introduced in the recent commits?
When a view gains focus, it might be in a pane other than the currently maximized pane. So it automatically switches the maximized pane to the one containing the view that just gained focus (otherwise you would be editing a view you cannot see)
If the view that just gained focus is a transient view, there is some odd behavior, that is hard to explain. It seems to get stuck on which view has focus and jump back and forth.
This is not a problem in ST3 because it changed how it does transient views.
Not exactly sure the root cause of the issue in ST2 though, or how to fix it. Would love to hear any suggestions.