--- a/QScintilla/QsciScintillaCompat.py Sun Jun 19 17:50:39 2011 +0200 +++ b/QScintilla/QsciScintillaCompat.py Sun Jun 19 19:36:27 2011 +0200 @@ -53,7 +53,7 @@ @param name name of this instance (string) @param flags window flags """ - QsciScintilla.__init__(self, parent) + super().__init__(parent) self.zoom = 0 @@ -69,7 +69,7 @@ @param lex the lexer to be set or None to reset it. """ - QsciScintilla.setLexer(self, lex) + super().setLexer(lex) if lex is None: self.clearStyles() @@ -306,7 +306,7 @@ @param zoom zoom factor increment """ self.zoom += zoom - QsciScintilla.zoomIn(self, zoom) + super().zoomIn(zoom) def zoomOut(self, zoom=1): """ @@ -315,7 +315,7 @@ @param zoom zoom factor decrement """ self.zoom -= zoom - QsciScintilla.zoomOut(self, zoom) + super().zoomOut(zoom) def zoomTo(self, zoom): """ @@ -324,7 +324,7 @@ @param zoom zoom factor """ self.zoom = zoom - QsciScintilla.zoomTo(self, zoom) + super().zoomTo(zoom) def getZoom(self): """ @@ -878,10 +878,10 @@ @param margin margin number (integer) """ if style < self.ArrowFoldStyle: - QsciScintilla.setFolding(self, style, margin) + super().setFolding(style, margin) else: - QsciScintilla.setFolding( - self, QsciScintilla.PlainFoldStyle, margin) + super().setFolding( + QsciScintilla.PlainFoldStyle, margin) if style == self.ArrowFoldStyle: self.__setFoldMarker(QsciScintilla.SC_MARKNUM_FOLDER, @@ -984,7 +984,7 @@ if self.isListActive(): self.cancelList() - QsciScintilla.focusOutEvent(self, event) + super().focusOutEvent(event) ########################################################################### # interface methods to the mini editor