--- a/QScintilla/QsciScintillaCompat.py Sat Jan 06 18:59:24 2018 +0100 +++ b/QScintilla/QsciScintillaCompat.py Sun Jan 07 17:18:07 2018 +0100 @@ -744,6 +744,16 @@ except AttributeError: pass + def canPaste(self): + """ + Public method to test, if the paste action is available (i.e. if the + clipboard contains some text). + + @return flag indicating the availability of 'paste' + @rtype bool + """ + return self.SendScintilla(QsciScintilla.SCI_CANPASTE) + ########################################################################### ## methods to perform searches in target range ###########################################################################