]> git.neil.brown.name Git - edlib.git/commit
format: handle line-count properly for format2
authorNeilBrown <neil@brown.name>
Sun, 4 Jun 2023 00:33:07 +0000 (10:33 +1000)
committerNeilBrown <neil@brown.name>
Wed, 28 Jun 2023 05:40:21 +0000 (15:40 +1000)
commit427f017fdbb9161f4cb8fad42d12cf7746fe72f4
tree635502bf53b1f10bd9ad5c0145d318650aff35f0
parentec57159b76df49dabd31f7b41f7636928108fd89
format: handle line-count properly for format2

There is along standing bug that the linecount appears to be elevated in
a formatted view anywhere but at the start of the line.
Also word counts don't work properly.

Now that we can attach line counting to a view, this can be fixed.

Also: allow view-based linecount to be disabled by parent.  It is
notably slower and for notmuch search view it is too slow.

Signed-off-by: NeilBrown <neil@brown.name>
14 files changed:
DOC/TODO.md
python/module-notmuch.py
render-format.c
tests.d/00-basic
tests.d/00-mouse
tests.d/01-c-mode
tests.d/01-hex
tests.d/01-python
tests.d/01-redraw
tests.d/01-textfill
tests.d/02-diff
tests.d/02-grep
tests.d/02-presenter
tests.d/02-spell