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 / 5.7.013 < prev    next >
Encoding:
Internet Message Format  |  2000-10-25  |  1.3 KB

  1. To: vim-dev@vim.org
  2. Subject: Patch 5.7.013
  3. Fcc: outbox
  4. From: Bram Moolenaar <Bram@moolenaar.net>
  5. ------------
  6.  
  7. Patch 5.7.013
  8. Problem:    "gD" didn't always find a match in the first line, depending on 
  9.             the column the search started at.
  10. Solution:   Reset the column to zero before starting to search.
  11. Files:      src/normal.c
  12.  
  13.  
  14. *** ../vim-5.7.12/src/normal.c    Mon Jun  5 15:22:19 2000
  15. --- src/normal.c    Thu Oct 26 21:41:10 2000
  16. ***************
  17. *** 3172,3177 ****
  18. --- 3172,3178 ----
  19.       while (curwin->w_cursor.lnum > 1 && *skipwhite(ml_get_curline()) != NUL)
  20.           --curwin->w_cursor.lnum;
  21.       }
  22. +     curwin->w_cursor.col = 0;
  23.   
  24.       /* Search forward for the identifier, ignore comment lines. */
  25.       while ((t = searchit(curbuf, &curwin->w_cursor, FORWARD, pat, 1L, 0,
  26. *** ../vim-5.7.12/src/version.c    Sun Oct 22 16:43:53 2000
  27. --- src/version.c    Thu Oct 26 21:41:19 2000
  28. ***************
  29. *** 439,440 ****
  30. --- 439,442 ----
  31.   {   /* Add new patch number below this line */
  32. + /**/
  33. +     13,
  34.   /**/
  35.  
  36. -- 
  37. Wi n0t trei a h0liday in Sweden thi yer?
  38.                  "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
  39.  
  40. ///  Bram Moolenaar     Bram@moolenaar.net     http://www.moolenaar.net  \\\
  41. \\\  Vim: http://www.vim.org      ICCF Holland: http://iccf-holland.org  ///
  42.