[anjuta] language-support-vala: bgo#626306 Symbol completion doesn't work with "this."



commit d36f13f4f4a83f5a3dadae609409c6b0ffe0ff52
Author: Abderrahim Kitouni <a kitouni gmail com>
Date:   Sat Aug 7 21:13:25 2010 +0100

    language-support-vala: bgo#626306 Symbol completion doesn't work with "this."

 plugins/language-support-vala/plugin.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plugins/language-support-vala/plugin.vala b/plugins/language-support-vala/plugin.vala
index 59dc3bb..3c12635 100644
--- a/plugins/language-support-vala/plugin.vala
+++ b/plugins/language-support-vala/plugin.vala
@@ -240,7 +240,7 @@ public class ValaPlugin : Plugin {
 		var symbol_table = sym.scope.get_symbol_table ();
 		if (symbol_table != null) {
 			foreach (string key in symbol_table.get_keys()) {
-				if (((prefix_match && key.has_prefix (name)) || key == name) && (key != "this")) {
+				if (((prefix_match && key.has_prefix (name)) || key == name)) {
 					result.append (symbol_table[key]);
 				}
 			}



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