DebugClients/Ruby/Completer.rb

changeset 808
8f85926125ef
parent 791
9ec2ac20e54e
child 1509
c0b5e693b0eb
--- a/DebugClients/Ruby/Completer.rb	Tue Jan 04 17:37:48 2011 +0100
+++ b/DebugClients/Ruby/Completer.rb	Wed Jan 05 15:46:19 2011 +0100
@@ -135,7 +135,7 @@
         # Global variable
             candidates = global_variables.grep(Regexp.new(Regexp.quote($1)))
 
-#        when /^(\$?(\.?[^.]+)+)\.([^.]*)$/
+##        when /^(\$?(\.?[^.]+)+)\.([^.]*)$/
         when /^((\.?[^.]+)+)\.([^.]*)$/
         # variable
             receiver = $1
@@ -179,7 +179,7 @@
 
         else
             candidates = eval("methods | private_methods | local_variables | self.class.constants", @binding)
-              
+            
             (candidates|ReservedWords).grep(/^#{Regexp.quote(input)}/)
         end
     end

eric ide

mercurial