]> git.neil.brown.name Git - edlib.git/commit
renderline: fix rendering bug when a TAB wraps.
authorNeilBrown <neil@brown.name>
Wed, 21 Jun 2023 07:03:14 +0000 (17:03 +1000)
committerNeilBrown <neil@brown.name>
Wed, 28 Jun 2023 07:51:41 +0000 (17:51 +1000)
commitbd4153a0929188ed786c8b40b3814c32d7b43109
tree15a1e2644a801c8e949e92df526bda1d1fc48f50
parent0eb606f49a0f3f96ca8b3fc16c5e2714d39cea18
renderline: fix rendering bug when a TAB wraps.

If a tab wraps, we show the character immediately before the tab at the
start of the next line, which is wrong.
It is particularly weird when that char is the '>' at the end of an
attribute marking.

Signed-off-by: NeilBrown <neil@brown.name>
lib-renderline.c
tests.d/01-c-mode