commit 8cd6aa0a322432d400d2b5d8203aef6a1b5c282f
parent fcbe41942fc80aefc273a8fb4a22b6ec14f28495
Author: Benno Schulenberg <bensberg@telfort.nl>
Date: Wed, 26 Jun 2019 11:18:02 +0200
display: when linenumbering, correctly spotlight text that spans two rows
This fixes https://savannah.gnu.org/bugs/?56552.
Bug existed since line numbers were introduced, in version 2.7.1.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/winio.c b/src/winio.c
@@ -3522,7 +3522,7 @@ void spotlight_softwrapped(size_t from_col, size_t to_col)
if (end_of_line)
break;
- wmove(edit, ++row, 0);
+ wmove(edit, ++row, margin);
leftedge = break_col;
from_col = break_col;