QScintilla/SpellChecker.py

changeset 12
1d8dd9706f46
parent 6
52e8c820d0dd
child 13
1af94a91f439
equal deleted inserted replaced
11:b0996e4a289e 12:1d8dd9706f46
244 if not self.initCheck(startPos, endPos): 244 if not self.initCheck(startPos, endPos):
245 return 245 return
246 246
247 while True: 247 while True:
248 try: 248 try:
249 self.next() 249 next(self)
250 self.editor.setIndicatorRange(self.indicator, self.wordStart, 250 self.editor.setIndicatorRange(self.indicator, self.wordStart,
251 self.wordEnd - self.wordStart) 251 self.wordEnd - self.wordStart)
252 except StopIteration: 252 except StopIteration:
253 break 253 break
254 254
450 def __next__(self): 450 def __next__(self):
451 """ 451 """
452 Private method to advance to the next error. 452 Private method to advance to the next error.
453 """ 453 """
454 454
455 def next(self): 455 def __next__(self):
456 """ 456 """
457 Public method to advance to the next error. 457 Public method to advance to the next error.
458 458
459 @return self 459 @return self
460 """ 460 """

eric ide

mercurial