commit | 9d7930328ba68eeb776f752be972b844f404fd65 | [log] [tgz] |
---|---|---|
author | Benno Schulenberg <bensberg@justemail.net> | Mon Apr 11 22:22:15 2016 +0200 |
committer | Benno Schulenberg <bensberg@justemail.net> | Wed Apr 13 13:04:35 2016 +0200 |
tree | 45de70051a1327e94820ddbf2e2774db66d219cd | |
parent | 111b30008a0d289e4963df31b11eeeda5cb1589f [diff] |
screen: a full refresh is only needed when softwrap is on 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?)