QScintilla/QsciScintillaCompat.py

branch
maintenance
changeset 6753
16ceda0c4fb9
parent 6751
1a8db34bf057
child 6841
43af1e698c9d
equal deleted inserted replaced
6752:638d12a35754 6753:16ceda0c4fb9
1623 1623
1624 ########################################################################### 1624 ###########################################################################
1625 ## methods to implement workarounds for broken things 1625 ## methods to implement workarounds for broken things
1626 ########################################################################### 1626 ###########################################################################
1627 1627
1628 def insert(self, txt): 1628 if QSCINTILLA_VERSION() == 0x020B00:
1629 """ 1629 def insert(self, txt):
1630 Public method to insert text at the cursor position. 1630 """
1631 1631 Public method to insert text at the cursor position.
1632 @param txt text to be inserted 1632
1633 @type str 1633 @param txt text to be inserted
1634 """ 1634 @type str
1635 line, col = self.getCursorPosition() 1635 """
1636 self.insertAt(txt, line, col) 1636 line, col = self.getCursorPosition()
1637 self.insertAt(txt, line, col)
1637 1638
1638 ########################################################################### 1639 ###########################################################################
1639 ## methods below have been added to QScintilla starting with version 2.5 1640 ## methods below have been added to QScintilla starting with version 2.5
1640 ########################################################################### 1641 ###########################################################################
1641 1642

eric ide

mercurial