From 28c3d9648c46fcfc473f96389ba96f328c5392d2 Mon Sep 17 00:00:00 2001 From: Strahinja Val Markovic Date: Mon, 2 Sep 2013 17:16:09 -0700 Subject: [PATCH] Deleting some dead code --- python/ycm/completers/completer.py | 12 ------------ .../completers/general/general_completer_store.py | 15 --------------- 2 files changed, 27 deletions(-) diff --git a/python/ycm/completers/completer.py b/python/ycm/completers/completer.py index bb2345b6..b7cf7abb 100644 --- a/python/ycm/completers/completer.py +++ b/python/ycm/completers/completer.py @@ -253,14 +253,6 @@ class Completer( object ): pass - def OnCursorMovedInsertMode( self ): - pass - - - def OnCursorMovedNormalMode( self ): - pass - - def OnBufferVisit( self ): pass @@ -269,10 +261,6 @@ class Completer( object ): pass - def OnCursorHold( self ): - pass - - def OnInsertLeave( self ): pass diff --git a/python/ycm/completers/general/general_completer_store.py b/python/ycm/completers/general/general_completer_store.py index c173649a..8d0cd55b 100644 --- a/python/ycm/completers/general/general_completer_store.py +++ b/python/ycm/completers/general/general_completer_store.py @@ -101,16 +101,6 @@ class GeneralCompleterStore( Completer ): completer.OnFileReadyToParse() - def OnCursorMovedInsertMode( self ): - for completer in self._all_completers: - completer.OnCursorMovedInsertMode() - - - def OnCursorMovedNormalMode( self ): - for completer in self._all_completers: - completer.OnCursorMovedNormalMode() - - def OnBufferVisit( self ): for completer in self._all_completers: completer.OnBufferVisit() @@ -121,11 +111,6 @@ class GeneralCompleterStore( Completer ): completer.OnBufferUnload( deleted_buffer_file ) - def OnCursorHold( self ): - for completer in self._all_completers: - completer.OnCursorHold() - - def OnInsertLeave( self ): for completer in self._all_completers: completer.OnInsertLeave()