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.2.490 < prev    next >
Encoding:
Internet Message Format  |  2004-04-19  |  2.0 KB

  1. To: vim-dev@vim.org
  2. Subject: Patch 6.2.490
  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.2.490
  11. Problem:    With 'paragraph' it is not possible to use a single dot as a
  12.         paragraph boundary.  (Dorai Sitaram)
  13. Solution:   Allow using "  " (two spaces) in 'paragraph' to match ".$" or
  14.         ". $"
  15. Files:        src/search.c
  16.  
  17.  
  18. *** ../vim-6.2.489/src/search.c    Mon Apr 19 20:26:43 2004
  19. --- src/search.c    Tue Apr 20 20:34:34 2004
  20. ***************
  21. *** 2476,2483 ****
  22.   
  23.       for (macro = opt; macro[0]; ++macro)
  24.       {
  25. !     if (macro[0] == s[0] && (((s[1] == NUL || s[1] == ' ') &&
  26. !            (macro[1] == NUL || macro[1] == ' ')) || macro[1] == s[1]))
  27.           break;
  28.       ++macro;
  29.       if (macro[0] == NUL)
  30. --- 2476,2490 ----
  31.   
  32.       for (macro = opt; macro[0]; ++macro)
  33.       {
  34. !     /* Accept two characters in the option being equal to two characters
  35. !      * in the line.  A space in the option matches with a space in the
  36. !      * line or the line having ended. */
  37. !     if (       (macro[0] == s[0]
  38. !             || (macro[0] == ' '
  39. !             && (s[0] == NUL || s[0] == ' ')))
  40. !         && (macro[1] == s[1]
  41. !             || ((macro[1] == NUL || macro[1] == ' ')
  42. !             && (s[0] == NUL || s[1] == NUL || s[1] == ' '))))
  43.           break;
  44.       ++macro;
  45.       if (macro[0] == NUL)
  46. *** ../vim-6.2.489/src/version.c    Tue Apr 20 20:15:33 2004
  47. --- src/version.c    Tue Apr 20 20:44:46 2004
  48. ***************
  49. *** 639,640 ****
  50. --- 639,642 ----
  51.   {   /* Add new patch number below this line */
  52. + /**/
  53. +     490,
  54.   /**/
  55.  
  56. -- 
  57. OLD WOMAN: King of the WHO?
  58. ARTHUR:    The Britons.
  59. OLD WOMAN: Who are the Britons?
  60.                  "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
  61.  
  62.  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
  63. ///        Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
  64. \\\              Project leader for A-A-P -- http://www.A-A-P.org        ///
  65.  \\\  Buy at Amazon and help AIDS victims -- http://ICCF.nl/click1.html ///
  66.