[gnome-builder] Vala: don't autocomplete in string



commit 0371df3f0bacf30b30047c20b378f9c303f1ee95
Author: Ben Iofel <iofelben gmail com>
Date:   Tue Jan 26 09:04:25 2016 -0500

    Vala: don't autocomplete in string

 .../vala-pack/ide-vala-completion-provider.vala    |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plugins/vala-pack/ide-vala-completion-provider.vala 
b/plugins/vala-pack/ide-vala-completion-provider.vala
index 62646ee..e6560cf 100644
--- a/plugins/vala-pack/ide-vala-completion-provider.vala
+++ b/plugins/vala-pack/ide-vala-completion-provider.vala
@@ -124,7 +124,7 @@ namespace Ide
                                        return false;
                        }
 
-                       if (Ide.CompletionProvider.context_in_comment (context))
+                       if (Ide.CompletionProvider.context_in_comment_or_string (context))
                                return false;
 
                        return true;


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