softwrap: remove and replace workarounds for firstcolumn
Actually enable scrolling edittop partially off the screen by making edit_scroll() and adjust_viewport() use firstcolumn properly when iterating through softwrapped chunks in softwrap mode, or lines in non-softwrap mode. In non-softwrap mode, firstcolumn should still always be zero, because it's initially set to that, and because passing it through the iterators will maintain it at that. This fixes https://savannah.gnu.org/bugs/?49100 . Reported-by:David Lawrence Ramsey <pooka109@gmail.com>
Showing
+5 -22
Please register or sign in to comment