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
The callback function onSetActive is not called when creating a split, for example via hsplit or vsplit. In contrast, it is called when creating a new tab. I think it should also be called for new splits because the bufpane changes. When navigating between bufpanes with NextSplit, onSetActive is called.
For completeness, here is the function I used to check this:
function onSetActive(bp)
micro.TermMessage("onSetActive <", bp.Buf.Path, "> <", bp.Buf.AbsPath, "> <", bp:Name(), ">")
return true
end
ADDED: Also, when closing a tab (i.e., closing a bufpane in a tab without split), onSetActive is not called for the bufpane that is activated in the next tab.
Description of the problem or steps to reproduce
The callback function
onSetActive
is not called when creating a split, for example viahsplit
orvsplit
. In contrast, it is called when creating a new tab. I think it should also be called for new splits because the bufpane changes. When navigating between bufpanes withNextSplit
,onSetActive
is called.For completeness, here is the function I used to check this:
ADDED: Also, when closing a tab (i.e., closing a bufpane in a tab without split),
onSetActive
is not called for the bufpane that is activated in the next tab.Specifications
Commit hash: fb20818
OS: Ubuntu
Terminal: urxvt
The text was updated successfully, but these errors were encountered: