From: Daniel Carl Date: Mon, 24 Apr 2017 11:15:15 +0000 (+0200) Subject: Don't run input change on stepping through completion. X-Git-Url: https://git.owens.tech/style.css/style.css/git?a=commitdiff_plain;h=0a032555463f16e8d00389b087fbfec8b37050e2;p=vimb.git Don't run input change on stepping through completion. --- diff --git a/src/main.c b/src/main.c index 9059a82..dddb0f7 100644 --- a/src/main.c +++ b/src/main.c @@ -819,12 +819,10 @@ static void on_textbuffer_changed(GtkTextBuffer *textbuffer, gpointer user_data) g_assert(c); -#if 0 /* don't observe changes in completion mode */ if (c->mode->flags & FLAG_COMPLETION) { return; } -#endif /* don't process changes not typed by the user */ if (gtk_widget_is_focus(c->input) && c->mode && c->mode->input_changed) {