Don't run input change on stepping through completion.
authorDaniel Carl <danielcarl@gmx.de>
Mon, 24 Apr 2017 11:15:15 +0000 (13:15 +0200)
committerDaniel Carl <danielcarl@gmx.de>
Mon, 24 Apr 2017 11:15:15 +0000 (13:15 +0200)
src/main.c

index 9059a82..dddb0f7 100644 (file)
@@ -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) {