[gedit-plugins] Allow completion of empty command



commit e801a837b4827e3fcdc293b1d8da7071888ccd62
Author: Jesse van den Kieboom <jesse icecrew nl>
Date:   Sun Mar 21 23:05:55 2010 +0100

    Allow completion of empty command

 plugins/commander/commander/commands/completion.py |    5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)
---
diff --git a/plugins/commander/commander/commands/completion.py b/plugins/commander/commander/commands/completion.py
index 5d1a778..0109bf3 100644
--- a/plugins/commander/commander/commands/completion.py
+++ b/plugins/commander/commander/commands/completion.py
@@ -108,10 +108,7 @@ def single_command(words, idx):
 
 def command(words, idx):
 	s = words[idx].strip()
-	
-	if not s:
-		return None
-	
+
 	parts = s.split('.')
 	cmds = []
 



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