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.master
parent
fcbe41942f
commit
8cd6aa0a32
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue