diff -r 714a3627a089 -r dccffd13be8d QScintilla/Terminal.py --- a/QScintilla/Terminal.py Sun Jan 29 18:39:10 2012 +0100 +++ b/QScintilla/Terminal.py Mon Jan 30 18:53:11 2012 +0100 @@ -499,7 +499,7 @@ @param evt reference to the wheel event (QWheelEvent) """ if evt.modifiers() & Qt.ControlModifier: - if evt.delta()< 0: + if evt.delta() < 0: self.zoomOut() else: self.zoomIn() @@ -543,6 +543,7 @@ pinch.setScaleFactor(3.0) self.zoomTo(zoom) evt.accept() + def editorCommand(self, cmd): """ Public method to perform an editor command.