Mercurial > hg
comparison Makefile @ 29854: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 | afa74947a414 |
children | 730c7fc8889a |
comparison
equal
deleted
inserted
replaced
29849:f148bfa40489 | 29854:b842b1adfea2 |
---|