src/eric7/QScintilla/QsciScintillaCompat.py

branch
eric7
changeset 9845
50d1cd44b2cb
parent 9653
e67609152c5e
child 9977
a5acf678c367
equal deleted inserted replaced
9844:2f3d623f7617 9845:50d1cd44b2cb
864 864
865 if pos == -1: 865 if pos == -1:
866 self.__targetSearchActive = False 866 self.__targetSearchActive = False
867 return False 867 return False
868 868
869 targend = self.SendScintilla(QsciScintilla.SCI_GETTARGETEND) 869 targetEnd = self.SendScintilla(QsciScintilla.SCI_GETTARGETEND)
870 self.__targetSearchStart = targend 870 if targetEnd == self.__targetSearchStart:
871 871 return False
872
873 self.__targetSearchStart = targetEnd
872 return True 874 return True
873 875
874 def getFoundTarget(self): 876 def getFoundTarget(self):
875 """ 877 """
876 Public method to get the recently found target. 878 Public method to get the recently found target.

eric ide

mercurial