diff -r dd868b0bfdba -r cde74a0d1f23 QScintilla/QsciScintillaCompat.py --- a/QScintilla/QsciScintillaCompat.py Sun Feb 10 17:24:10 2019 +0100 +++ b/QScintilla/QsciScintillaCompat.py Mon Feb 11 19:23:31 2019 +0100 @@ -1622,6 +1622,20 @@ return string.encode("latin-1") ########################################################################### + ## methods to implement workarounds for broken things + ########################################################################### + + def insert(self, txt): + """ + Public method to insert text at the cursor position. + + @param txt text to be inserted + @type str + """ + line, col = self.getCursorPosition() + self.insertAt(txt, line, col) + + ########################################################################### ## methods below have been added to QScintilla starting with version 2.5 ###########################################################################