Lines Matching refs:current

225     return self.text_[self.current:]
229 if self.current != 0:
236 self.last_translateable = self.current
246 self.last_nontranslateable = self.current
249 self.current += match.end()
330 self.current = 0
341 while self.current < len(self.text_):
342 _DebugPrint('REST: %s' % self.text_[self.current:self.current+60])
353 # Whitespace is neutral, it just advances 'current' and does not switch
355 # nontranslateable section that extends to the current point, we extend
361 self.last_nontranslateable == self.current - 1):
362 self.last_nontranslateable = self.current + m.end() - 1
371 self.last_nontranslateable = self.current + m.end() - 1
402 self.chunk_start : self.current + sm.start(group)])
406 self.chunk_start = self.current + sm.end(group)
408 self.last_nontranslateable = self.current + m.end() - 1
412 self.last_translateable = self.current + m.end() - 1
421 self.last_translateable = self.current
422 self.current += 1
509 current = 0
512 while current < len(html):
513 m = _MESSAGE_NO_BREAK_COMMENT.match(html[current:])
516 current += m.end()
519 m = _NBSP.match(html[current:])
522 current += m.end()
525 m = _REPLACEABLE.match(html[current:])
530 current += m.end()
533 m = _SPECIAL_ELEMENT.match(html[current:])
546 html[current : current + m.start(group)]))
549 html[current + m.end(group) : current + m.end()]))
550 current += m.end()
553 m = _ELEMENT.match(html[current:])
560 raise exception.BlockTagInTranslateableChunk(html[current:])
572 current += m.end()
576 parts[-1] += html[current]
578 parts.append(html[current])
579 current += 1