Mercurial > hg-stable
diff i18n/ja.po @ 29860:b842b1adfea2
grep: refactor loop that yields matched text with label
As preparation for formatter support, this and the next patch split
linestate.__iter__() into two functions, line scanner and displayer.
New code uses regexp.search(str, pos) in place of regexp.search(substr),
which appears to fix a bug of highlighting.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Thu, 18 Aug 2016 14:03:25 +0900 |
parents | 716c01161852 |
children | 8b2056d9a7dd |