Is it possible to change the view that has the focus in a different group from the active group without actually switching focus to it?
I should add that I need to do this from within the show_quick_panel() - on_highlighted
method so I can’t just use focus_view()
to switch focus to the view in the different group and then use focus_view()
to switch the focus back again without killing the show_quick_panel()
.
You can use active_view_in_group(group)
to get the currently edited view in the given group but there is no set_active_view_in_group(group, view)
method.
While looking through sublime.py
I discovered a whole undocumented class called Sheet
and the Window
class has lots of sheet related methods, might one of those be able to do what I want?
Thanks.