From 840930ce094ebce8299edba078a7be97139fcca6 Mon Sep 17 00:00:00 2001 From: Strahinja Val Markovic Date: Thu, 25 Apr 2013 15:36:56 -0700 Subject: [PATCH] Fixing minor regressions from general store commit A few Completer methods that should have been forwarded to general completers were not. This broke the identifier completer picking up the current identifier right after it's typed in. --- python/completers/completer.py | 1 + python/completers/general/general_completer_store.py | 9 +++++++++ 2 files changed, 10 insertions(+) diff --git a/python/completers/completer.py b/python/completers/completer.py index 7ebffb24..583d7126 100644 --- a/python/completers/completer.py +++ b/python/completers/completer.py @@ -279,6 +279,7 @@ class Completer( object ): def ShowDetailedDiagnostic( self ): pass + def GettingCompletions( self ): return False diff --git a/python/completers/general/general_completer_store.py b/python/completers/general/general_completer_store.py index 0817055d..3269ed6a 100644 --- a/python/completers/general/general_completer_store.py +++ b/python/completers/general/general_completer_store.py @@ -129,3 +129,12 @@ class GeneralCompleterStore( Completer ): for completer in self._all_completers: completer.OnInsertLeave() + + def OnCurrentIdentifierFinished( self ): + for completer in self._all_completers: + completer.OnCurrentIdentifierFinished() + + + def GettingCompletions( self ): + for completer in self._all_completers: + completer.GettingCompletions()