On Sat, Jul 11, 2015 at 12:19:22AM +0200, Christian Brabandt wrote:
> > 7. The entire screen is redrawn every time, even for single-line edits that 
> > affect zero or one characters.
> 
> Not sure what you mean. Since one starts visual mode, one needs to 
> redraw after visual mode ended.

Sure, but Vim has a notion of what parts of the screen actually need to
be redrawn.  The issue is that even for a single line change, then
entire screen is redrawn.

> diff --git a/src/charset.c b/src/charset.c
> --- a/src/charset.c
> +++ b/src/charset.c
> @@ -1835,9 +1835,10 @@ vim_isblankline(lbuf)
>   * octal number.
>   * If "dohex" is non-zero recognize hex numbers, when > 1 always assume
>   * hex number.
> + * If strlen > 0, check at a maximum strlen chars

It'd be nicer to call this something that doesn't shadow a standard
function name.  Maybe maxlen.

>   */
>      void
> -vim_str2nr(start, hexp, len, dooct, dohex, nptr, unptr)
> +vim_str2nr(start, hexp, len, dooct, dohex, nptr, unptr, strlen)

Cheers,
-- 
James
GPG Key: 4096R/331BA3DB 2011-12-05 James McCoy <james...@jamessan.com>

-- 
-- 
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

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui