]> git.neil.brown.name Git - edlib.git/commit
linecount: when async needs a full count - do it.
authorNeilBrown <neil@brown.name>
Tue, 6 Jun 2023 20:54:23 +0000 (06:54 +1000)
committerNeilBrown <neil@brown.name>
Wed, 28 Jun 2023 05:40:21 +0000 (15:40 +1000)
commitb427dc8d96a04e73afe3bce34d820d306460d750
tree60567445552c5f85a6c12baf863246cf7e98b63e
parenta23d3d55f91ca88930c7dd1464de5960a0d3c20c
linecount: when async needs a full count - do it.

If async linecount is asked to find a mark, and we don't have a full
line count, then we aren't going to find the mark (because async
handlers forget about it).
So be honest up front and just forget about it.  This ensure
consistency.

Signed-off-by: NeilBrown <neil@brown.name>
DOC/TODO.md
lib-linecount.c