On 12/02/10 3:03 AM, Bram Moolenaar wrote:
Ben Schmidt wrote:
I'm getting back into doing some Vim coding, and mailing list
interaction and so on, and have come across this old patch (attached;
originally on vim_use).
The changes to ex_cmds.c are obsoleted by patch 7.2.082, but the change
to option.c is still relevant.
The problem is that when 'ff' is changed, the screen is not redrawn, so
any ^J or ^M in the buffer are incorrectly displayed until you scroll or
redraw.
Thanks. I'll make it a bit more efficient, most people only switch
between "unix" and "dos" and don't need a redraw.
Yes, that would be better. Mac line endings are rare, and becoming
rarer.
Mind you, changing 'ff' is pretty rare in itself. Plenty of other things
trigger redraws that happen a lot more often.
Ben.
--
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php