QScintilla/EditorAssembly.py

changeset 1421
8fead6686d1c
parent 1358
c1622c708cd9
child 1439
953d3f95ee4d
--- a/QScintilla/EditorAssembly.py	Fri Nov 04 17:00:01 2011 +0100
+++ b/QScintilla/EditorAssembly.py	Fri Nov 04 17:38:51 2011 +0100
@@ -62,6 +62,14 @@
         
         QTimer.singleShot(0, self.__parseEditor)
     
+    def shutdownTimer(self):
+        """
+        Public method to stop and disconnect the timer.
+        """
+        self.__parseTimer.stop()
+        self.__parseTimer.timeout.disconnect(self.__parseEditor)
+        self.__editor.textChanged.disconnect(self.__resetParseTimer)
+    
     def getEditor(self):
         """
         Public method to get the reference to the editor widget.

eric ide

mercurial