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. |