• David Lawrence Ramsey's avatar
    softwrap: iterate through softwrapped chunks in adjust_viewport() · 2abf7b75
    David Lawrence Ramsey authored
    Use go_back_chunks() to adjust edittop, instead of special casing
    the computation of goal when softwrapping.  Now softwrap mode and
    non-softwrap mode will behave the same way when edittop can be
    partially scrolled off the screen, which is forthcoming.
    
    (Note that the top line of the screen can't be partially scrolled
    yet, so we have to work around that for now.)
    2abf7b75
winio.c 103 KB