Merge: Nitlight: implement first_line and last_line
authorJean Privat <jean@pryen.org>
Wed, 10 May 2017 13:20:46 +0000 (09:20 -0400)
committerJean Privat <jean@pryen.org>
Wed, 10 May 2017 13:20:46 +0000 (09:20 -0400)
The existing implementation was silently droped by a previous refactorization.
Reimplement-it and add regression tests

close #2417

Pull-Request: #2429


Trivial merge