[gnome-builder/gnome-builder-3-18] vala: dont require query length threshold



commit 07c549f514bad8756ca222826337e3062b09899e
Author: Christian Hergert <christian hergert me>
Date:   Thu Oct 1 17:41:11 2015 -0700

    vala: dont require query length threshold
    
    If we limit the length, we won't get all the results which makes replaying
    less likely. Also, completion is really useful right after "." when you
    have no idea what the object supports.

 .../vala-pack/ide-vala-completion-provider.vala    |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)
---
diff --git a/plugins/vala-pack/ide-vala-completion-provider.vala 
b/plugins/vala-pack/ide-vala-completion-provider.vala
index 69a285f..396ca3e 100644
--- a/plugins/vala-pack/ide-vala-completion-provider.vala
+++ b/plugins/vala-pack/ide-vala-completion-provider.vala
@@ -55,11 +55,6 @@ namespace Ide
                                this.results = null;
                        }
 
-                       if (this.query.length < 3) {
-                               context.add_proposals (this, null, true);
-                               return;
-                       }
-
                        this.line = -1;
                        this.column = -1;
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]