summaryrefslogtreecommitdiff
path: root/ted.c
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2022-12-28 12:25:18 -0500
committerpommicket <pommicket@gmail.com>2022-12-28 12:25:18 -0500
commitd6b2cc80723ce6e8454449bcdcdcb495f7a08ad9 (patch)
tree0c51db5f1b26b2634ef3d3e6fd7916b612d748e8 /ted.c
parent92e8db6a364b8d1c38f3c15b8e040f6fb7c564f0 (diff)
refresh signature help when cursor moved or buffer switched
Diffstat (limited to 'ted.c')
-rw-r--r--ted.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ted.c b/ted.c
index 75a2246..222932f 100644
--- a/ted.c
+++ b/ted.c
@@ -241,6 +241,7 @@ void ted_switch_to_buffer(Ted *ted, TextBuffer *buffer) {
if (idx == *tab) {
node->active_tab = (u16)(tab - node->tabs);
ted->active_node = node;
+ signature_help_retrigger(ted);
return;
}
}
@@ -250,6 +251,7 @@ void ted_switch_to_buffer(Ted *ted, TextBuffer *buffer) {
} else {
ted->active_node = NULL;
}
+
}
// set ted->active_buffer to something nice