You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When showing an OutputChannel, it will steal the current focus. In an atempt to be less disruptive and keep the user's current focus, I tried the following code:
This returns the focus to the previously focused document, but it has one quirk, when any quick panel is opened and then closed, the focus will go to the OutputChannel instead of going to the previously focused document.
The text was updated successfully, but these errors were encountered:
jrieken
changed the title
Strange interaction between showTextDocument and quick panels
Support preserveFocus flag when opening editors or an output channel
Dec 23, 2015
When showing an
OutputChannel
, it will steal the current focus. In an atempt to be less disruptive and keep the user's current focus, I tried the following code:This returns the focus to the previously focused document, but it has one quirk, when any quick panel is opened and then closed, the focus will go to the
OutputChannel
instead of going to the previously focused document.The text was updated successfully, but these errors were encountered: