softwrap: account for firstcolumn when checking for offscreen current
Make current_is_above_screen() check for current[current_x] being above edittop at column firstcolumn, and make current_is_below_screen() start counting down from edittop at column firstcolumn instead of edittop at column zero. This means that both functions now account for softwrapped chunks properly.
Showing
+12 -3
Please register or sign in to comment