--- a/QScintilla/Terminal.py Sat Jan 28 11:36:56 2012 +0100 +++ b/QScintilla/Terminal.py Mon Jan 30 18:53:47 2012 +0100 @@ -495,7 +495,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() @@ -539,6 +539,7 @@ pinch.setScaleFactor(3.0) self.zoomTo(zoom) evt.accept() + def editorCommand(self, cmd): """ Public method to perform an editor command.