Files
zyedidia.micro/internal/action
Dmytro Maluka c6dc5a4b1f Call onSetActive when switching to another tab
We should call the onSetActive callback not only when switching to
another bufpane within the same tab but also when switching to another
tab.

Note on implementation details:

- In SetActive() we need to check if the tab is not already active, to
  avoid calling onSetActive for an already active bufpane.

- We cannot check that just by checking if the tab index passed to
  SetActive() is different from the current active tab index, since this
  index may remain the same even if the tab itself is different (in the
  case of removing a tab from the tablist). So we need to check the tab
  itself, not just the tab index. So we introduce the isActive field,
  to track the tab's active state in the Tab structure itself.
2024-04-12 02:07:29 +02:00
..
2024-04-08 12:04:38 +02:00
2020-09-06 17:38:23 -04:00
2021-08-21 17:58:30 -04:00
2021-08-21 18:04:08 -04:00
2021-08-21 18:04:08 -04:00
2020-09-05 14:52:35 -04:00