micro/internal
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
..
action Call onSetActive when switching to another tab 2024-04-12 02:07:29 +02:00
buffer chore: fix some typos (#3239) 2024-04-08 12:04:38 +02:00
clipboard Use zyedidia/clipper for external clipboard 2022-06-14 08:40:57 -04:00
config Temporarily don't initialize runtime files in buffer test 2024-04-03 04:37:44 +02:00
display Highlighting trailing whitespaces 2024-03-14 03:10:31 +01:00
info chore: fix some typos (#3239) 2024-04-08 12:04:38 +02:00
lua Revert "Don't expose Go timers directly to lua" (#3211) 2024-03-25 17:11:12 +01:00
screen Reset mouse release state after restarting the screen 2023-01-29 18:26:55 +01:00
shell Fix term output capturing 2023-09-08 23:27:39 -07:00
util Highlighting trailing whitespaces 2024-03-14 03:10:31 +01:00
views chore: fix some typos (#3239) 2024-04-08 12:04:38 +02:00