On Tue, Jun 15, 2010 at 9:08 AM, Vince Negri wrote:
> From: Dominique Pellé [mailto:[email protected]]
>
>> Thinking about it further, this second attached patch
>> also fixes the fold column redraw bug with less redraws
>> than patch in previous email.
>
>> However, unlike previous patch, it does not fix the
>> redraw glitches with moving commands )  ]] CTRL-F  (etc)
>> so they require specific fixes.
>
> I think this patch is the right way to go about it, as we shouldn't
> be redrawing unnecessarily (esp since Vim is often run over remote 
> connections.)
>
> That does mean that explicit fixes need to be added for a number of movement
> commands, but I'd rather sort them out as they are discovered.
>
> Dominque, you so far have a list of these movement commands needing treatment:
>
>  )
>  ]]
>  <PageUp>
>  <PageDown>
>  CTRL-F
>  CTRL-B
>  CTRL-U
>  CTRL-E  (when cursor is on the top line, causing scrolling)
>  CTRL-Y  (when cursor is on the bottom line, causing scrolling)
>  CTRL-O
>  CTRL-I
>  [count]go
>  [count]g;
>
>  :[range]
>  :go [count]

I haven't tested the patch, but I'd bet that [count]z- [count]z+
[count]z<CR> [count]zt etc will need fixups, and might be easy to miss
since their no-count behavior doesn't move the cursor.

~Matt

-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Raspunde prin e-mail lui