home *** CD-ROM | disk | FTP | other *** search
/ vim.ftp.fu-berlin.de / 2015-02-03.vim.ftp.fu-berlin.de.tar / vim.ftp.fu-berlin.de / patches / 6.0.111 < prev    next >
Encoding:
Internet Message Format  |  2001-12-30  |  1.4 KB

  1. To: vim-dev@vim.org
  2. Subject: Patch 6.0.111
  3. Fcc: outbox
  4. From: Bram Moolenaar <Bram@moolenaar.net>
  5. MIME-Version: 1.0
  6. Content-Type: text/plain; charset=ISO-8859-1
  7. Content-Transfer-Encoding: 8bit
  8. ------------
  9.  
  10. Patch 6.0.111
  11. Problem:    The virtcol() function doesn't take care of 'virtualedit'.
  12. Solution:   Add the column offset when needed. (Yegappan Lakshmanan)
  13. Files:        src/eval.c
  14.  
  15.  
  16. *** ../vim60.110/src/eval.c    Sun Nov  4 14:31:23 2001
  17. --- src/eval.c    Wed Dec 12 22:01:33 2001
  18. ***************
  19. *** 6242,6248 ****
  20.       fp = var2fpos(&argvars[0], FALSE);
  21.       if (fp != NULL && fp->lnum <= curbuf->b_ml.ml_line_count)
  22.       {
  23. !     getvcol(curwin, fp, NULL, NULL, &vcol);
  24.       ++vcol;
  25.       }
  26.   
  27. --- 6242,6248 ----
  28.       fp = var2fpos(&argvars[0], FALSE);
  29.       if (fp != NULL && fp->lnum <= curbuf->b_ml.ml_line_count)
  30.       {
  31. !     getvvcol(curwin, fp, NULL, NULL, &vcol);
  32.       ++vcol;
  33.       }
  34.   
  35. *** ../vim60.110/src/version.c    Mon Dec 31 16:32:36 2001
  36. --- src/version.c    Mon Dec 31 16:37:06 2001
  37. ***************
  38. *** 608,609 ****
  39. --- 608,611 ----
  40.   {   /* Add new patch number below this line */
  41. + /**/
  42. +     111,
  43.   /**/
  44.  
  45. -- 
  46. Error:015 - Unable to exit Windows.  Try the door.
  47.  
  48.  ///  Bram Moolenaar -- Bram@moolenaar.net -- http://www.moolenaar.net  \\\
  49. (((   Creator of Vim -- http://vim.sf.net -- ftp://ftp.vim.org/pub/vim   )))
  50.  \\\  Help me helping AIDS orphans in Uganda - http://iccf-holland.org  ///
  51.