This patch prevents slow and unsmooth completions caused by logic that
observes the change content in the inputbox. This was the case mainly for the
search completion, every step in the completion list started a new search.
{
char *text;
GtkTextIter start, end;
+ /* don't observe changes in completion mode */
+ if (vb.mode->flags & FLAG_COMPLETION) {
+ return;
+ }
/* don't process changes not typed by the user */
if (gtk_widget_is_focus(vb.gui.input) && vb.mode && vb.mode->input_changed) {
gtk_text_buffer_get_bounds(buffer, &start, &end);