]> git.neil.brown.name Git - edlib.git/commit
view: fix scroll bar on directories etc.
authorNeilBrown <neil@brown.name>
Sun, 2 Jul 2023 11:31:56 +0000 (21:31 +1000)
committerNeilBrown <neil@brown.name>
Wed, 12 Jul 2023 22:17:52 +0000 (08:17 +1000)
commit29bb354806f422fe5c5f31f74bfa7c56f1c83edf
tree4aec211f151a3f448d4fab22c02693ecd9972f94
parentebf7435b754a9fed523872a19ec6b7ded44ec41d
view: fix scroll bar on directories etc.

When linecount is attached to a view, as with lib-format (directories)
and emails, the location of the scroll bar handle is wrong.

Signed-off-by: NeilBrown <neil@brown.name>
12 files changed:
lib-view.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