]> git.neil.brown.name Git - edlib.git/commit
render-lines: improve margin calculations.
authorNeilBrown <neil@brown.name>
Sat, 3 Jul 2021 07:26:28 +0000 (17:26 +1000)
committerNeilBrown <neil@brown.name>
Sat, 3 Jul 2021 08:23:21 +0000 (18:23 +1000)
commita8ffa420942959dae95af2e145dae2df8e6599b2
treefb62555ae9b12d2921cc8fd576edc7f46e31e092
parent40091fe1a0e5dd7add50d3a9f0c15c6adc4b7435
render-lines: improve margin calculations.

In particular, find_lines() needs to honour ->margin, and
validate_start() need to allow the cursor inside the margin when start
of file is displayed.

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