• Benno Schulenberg's avatar
    screen: a full refresh is only needed when softwrap is on · 9d793032
    Benno Schulenberg authored
    When scrolling down a line, a full refresh of the edit window is only
    needed when softwrap is on, because only then the movement is irregular.
    When each file line takes up just one screen line (softwrap is off),
    edit_scroll() is perfectly able to scroll and redraw only the necessary
    lines.
    
    (But... when doing a full refresh anyway with softwrap, why bother
    scrolling at all?  Why not just adjust edittop and call refresh?)
    9d793032
move.c 16.8 KB