micro/internal/action
Dmytro Maluka 2a1790d15a Don't call onSetActive for an already active pane
Currently onSetActive is called when the user clicks with the mouse on
a pane even if this pane is already active. We should avoid calling it
in this case.

Implementation detail: like with tabs in the previous commit, we cannot
check if the pane is already active just by checking the index passed
to the Tab's SetActive() (since the index may not change while the pane
itself changes), we need to check state of the pane itself. So we move
the onSetActive invocation from the Tab's SetActive() to the BufPane's
SetActive().
2024-04-12 02:21:03 +02:00
..
actions.go Escape regex in pre-filled search pattern in Find prompt 2024-03-15 12:25:39 +01:00
actions_other.go Change project layout and use go.mod 2019-12-25 17:05:10 -05:00
actions_posix.go Fix v2 import path for go mod 2020-05-04 10:16:15 -04:00
bindings.go Merge pull request #2959 from JoeKar/fix/raw-esc-sequence 2024-03-14 04:38:05 +01:00
bufpane.go Don't call onSetActive for an already active pane 2024-04-12 02:21:03 +02:00
command.go command: Prevent re-writing settings in case of local option (#3178) 2024-04-11 18:35:13 +02:00
defaults.go Update keybinding docs 2020-09-06 17:38:23 -04:00
defaults_darwin.go Merge pull request #2606 from dmaluka/mouse-release-and-drag-events 2024-03-14 03:54:04 +01:00
defaults_other.go Merge pull request #2606 from dmaluka/mouse-release-and-drag-events 2024-03-14 03:54:04 +01:00
events.go Introduce mouse release and mouse drag events 2023-01-29 18:21:59 +01:00
globals.go Improve comments 2021-08-21 17:58:30 -04:00
infocomplete.go infocomplete: Complete filetypes (follow-up) (#3218) 2024-03-27 18:58:12 +01:00
infopane.go Forward resize event to both TabList and InfoBar (#3179) 2024-03-21 21:40:22 +01:00
keytree.go More style improvements 2021-08-21 18:04:08 -04:00
pane.go More style improvements 2021-08-21 18:04:08 -04:00
rawpane.go Update to tcell v2 2020-09-05 14:52:35 -04:00
tab.go Don't call onSetActive for an already active pane 2024-04-12 02:21:03 +02:00
terminal_supported.go Check error in terminal emulator 2020-07-27 17:43:55 -04:00
terminal_unsupported.go Use actual lua functions for callbacks instead of strings 2020-02-08 15:49:41 -05:00
termpane.go Fix internal string binding representation 2020-11-05 15:52:25 -05:00