Hirohito Higashi wrote:

[...]

> > this almost works, except that after incrementing/decrementing ml_get()
> > still returns the wrong line. I don't know why yet.
> > 
> > On the other hand, one could argue, that the number shouldn't be 
> > incremented/decremented at all if the cursor is actually not on a 
> > number, so you could even consider the successful increment to be a bug.
> 
> ChrisB>
> Your patch is a good hint for me. Thanks!
> 
> I wrote a patch with a test.
> Please check and include this.

Thanks!

-- 
God made machine language; all the rest is the work of man.

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui