--- a/QScintilla/QsciScintillaCompat.py Tue Mar 05 19:50:32 2019 +0100 +++ b/QScintilla/QsciScintillaCompat.py Wed Mar 06 18:44:29 2019 +0100 @@ -1757,8 +1757,8 @@ self.foldLine(line) ######################################################################### - # method below implement a compatibility variant for the findFirst() - # extended with version 2.11 + ## Method below implements a compatibility variant for the findFirst() + ## extended with version 2.11. ######################################################################### def findFirst(self, expression, regexp, caseSensitive, word, wrap, @@ -1804,8 +1804,23 @@ forward=forward, line=line, index=index, show=show, posix=posix) + ######################################################################### + ## Methods below are missing from QScintilla. + ######################################################################### + + if "setWrapStartIndent" not in QsciScintilla.__dict__: + def setWrapStartIndent(self, indent): + """ + Public method to set a the amount of characters wrapped sublines + shall be indented. + + @param indent amount of characters to indent + @type int + """ + self.SendScintilla(QsciScintilla.SCI_SETWRAPSTARTINDENT, indent) + ## ######################################################################### -## # methods below have been added to QScintilla starting with version 2.x +## ## Methods below have been added to QScintilla starting with version 2.x. ## ######################################################################### ## ## if "newMethod" not in QsciScintilla.__dict__: