AssistantEric/Assistant.py

changeset 121
edad4b3132fd
parent 119
263a95431e41
child 122
d746710bfe2e
equal deleted inserted replaced
120:8ddfaad361c7 121:edad4b3132fd
449 for super in cl.super: 449 for super in cl.super:
450 if prefix == word: 450 if prefix == word:
451 completions.extend( 451 completions.extend(
452 api.getCompletions( 452 api.getCompletions(
453 context=super, 453 context=super,
454 followHierarchy= 454 followHierarchy=self.__plugin
455 self.__plugin.getPreferences( 455 .getPreferences(
456 "AutoCompletionFollowHierarchy" 456 "AutoCompletionFollowHierarchy"
457 ) 457 )
458 ) 458 )
459 ) 459 )
460 else: 460 else:
461 completions.extend( 461 completions.extend(
462 api.getCompletions( 462 api.getCompletions(
463 start=word, context=super, 463 start=word, context=super,
464 followHierarchy= 464 followHierarchy=self.__plugin
465 self.__plugin.getPreferences( 465 .getPreferences(
466 "AutoCompletionFollowHierarchy" 466 "AutoCompletionFollowHierarchy"
467 ) 467 )
468 ) 468 )
469 ) 469 )
470 for completion in completions: 470 for completion in completions:

eric ide

mercurial