Changes between Version 16 and Version 17 of Plugin
- Timestamp:
- Aug 20, 2016, 1:02:12 AM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Plugin
v16 v17 167 167 def do_helloworld(self, line): 168 168 """print hello world""" 169 print "hello world " + line169 print "hello world " + line 170 170 171 171 def help_helloworld(self): … … 178 178 179 179 args = self.split_arg(line[0:begidx]) 180 if len(args)= 0:180 if len(args)== 1: 181 181 return self.list_completion(text,['Olivier', 'Valentin', 'Oliver']) 182 if len(args) ==1:183 if args[ 0].startswith('Oliv'):182 if len(args)==2: 183 if args[1].startswith('Oliv'): 184 184 return self.list_completion(text,['Mattelaer']) 185 elif args[ 0] == 'Valentin':185 elif args[1] == 'Valentin': 186 186 return self.list_completion(text,['Alwall', 'Hirschi']) 187 187