Fri, 04 Nov 2011 17:38:51 +0100
Fixed an issue related to the editor assembly.
--- a/APIs/Python3/eric5.api Fri Nov 04 17:00:01 2011 +0100 +++ b/APIs/Python3/eric5.api Fri Nov 04 17:38:51 2011 +0100 @@ -5589,6 +5589,7 @@ eric5.QScintilla.Editor.EditorAutoCompletionListID?7 eric5.QScintilla.Editor.TemplateCompletionListID?7 eric5.QScintilla.EditorAssembly.EditorAssembly.getEditor?4() +eric5.QScintilla.EditorAssembly.EditorAssembly.shutdownTimer?4() eric5.QScintilla.EditorAssembly.EditorAssembly?1(dbs, fn=None, vm=None, filetype="", editor=None, tv=None) eric5.QScintilla.Exporters.ExporterBase.ExporterBase._getFileName?5(filter) eric5.QScintilla.Exporters.ExporterBase.ExporterBase.exportSource?4()
--- a/Documentation/Help/source.qhp Fri Nov 04 17:00:01 2011 +0100 +++ b/Documentation/Help/source.qhp Fri Nov 04 17:38:51 2011 +0100 @@ -4597,6 +4597,7 @@ <keyword name="EditorAssembly.__parseEditor" id="EditorAssembly.__parseEditor" ref="eric5.QScintilla.EditorAssembly.html#EditorAssembly.__parseEditor" /> <keyword name="EditorAssembly.__resetParseTimer" id="EditorAssembly.__resetParseTimer" ref="eric5.QScintilla.EditorAssembly.html#EditorAssembly.__resetParseTimer" /> <keyword name="EditorAssembly.getEditor" id="EditorAssembly.getEditor" ref="eric5.QScintilla.EditorAssembly.html#EditorAssembly.getEditor" /> + <keyword name="EditorAssembly.shutdownTimer" id="EditorAssembly.shutdownTimer" ref="eric5.QScintilla.EditorAssembly.html#EditorAssembly.shutdownTimer" /> <keyword name="GotoDialog (Module)" id="GotoDialog (Module)" ref="eric5.QScintilla.GotoDialog.html" /> <keyword name="GotoDialog" id="GotoDialog" ref="eric5.QScintilla.GotoDialog.html#GotoDialog" /> <keyword name="GotoDialog (Constructor)" id="GotoDialog (Constructor)" ref="eric5.QScintilla.GotoDialog.html#GotoDialog.__init__" />
--- a/Documentation/Source/eric5.QScintilla.EditorAssembly.html Fri Nov 04 17:00:01 2011 +0100 +++ b/Documentation/Source/eric5.QScintilla.EditorAssembly.html Fri Nov 04 17:38:51 2011 +0100 @@ -77,6 +77,9 @@ </tr><tr> <td><a href="#EditorAssembly.getEditor">getEditor</a></td> <td>Public method to get the reference to the editor widget.</td> +</tr><tr> +<td><a href="#EditorAssembly.shutdownTimer">shutdownTimer</a></td> +<td>Public method to stop and disconnect the timer.</td> </tr> </table> <h3>Static Methods</h3> @@ -150,7 +153,12 @@ <dd> reference to the editor widget (Editor) </dd> -</dl> +</dl><a NAME="EditorAssembly.shutdownTimer" ID="EditorAssembly.shutdownTimer"></a> +<h4>EditorAssembly.shutdownTimer</h4> +<b>shutdownTimer</b>(<i></i>) +<p> + Public method to stop and disconnect the timer. +</p> <div align="right"><a href="#top">Up</a></div> <hr /> </body></html> \ No newline at end of file
--- 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.