QScintilla/QsciScintillaCompat.py

changeset 6059
8f7c66c53c27
parent 6048
82ad8ec9548c
child 6188
5a6ae3be31e6
equal deleted inserted replaced
6058:9432e23f663f 6059:8f7c66c53c27
741 try: 741 try:
742 self.SendScintilla( 742 self.SendScintilla(
743 QsciScintilla.SCI_SETCARETLINEVISIBLEALWAYS, alwaysVisible) 743 QsciScintilla.SCI_SETCARETLINEVISIBLEALWAYS, alwaysVisible)
744 except AttributeError: 744 except AttributeError:
745 pass 745 pass
746
747 def canPaste(self):
748 """
749 Public method to test, if the paste action is available (i.e. if the
750 clipboard contains some text).
751
752 @return flag indicating the availability of 'paste'
753 @rtype bool
754 """
755 return self.SendScintilla(QsciScintilla.SCI_CANPASTE)
746 756
747 ########################################################################### 757 ###########################################################################
748 ## methods to perform searches in target range 758 ## methods to perform searches in target range
749 ########################################################################### 759 ###########################################################################
750 760

eric ide

mercurial