Simon Ruderich wrote:

> Thanks for the hint. Attached is a testcase which ports my old
> tests to use your suggestion.
> 
> I noticed that screencol()/screenrow() start from zero while the
> other *col() functions start from one. Should I update my
> screencol()/screenrow() patch?

Yes, it would be nice to keep this consistent.  virtcol() also returns 1
for the first column.


-- 
ARTHUR:  I did say sorry about the `old woman,' but from the behind you
         looked--
DENNIS:  What I object to is you automatically treat me like an inferior!
ARTHUR:  Well, I AM king...
                                  The Quest for the Holy Grail (Monty Python)

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

Raspunde prin e-mail lui