To: vim-dev@vim.org Subject: Patch 6.1.115 Fcc: outbox From: Bram Moolenaar MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit ------------ Patch 6.1.115 Problem: "das" on the white space at the end of a paragraph does not delete the "." the sentence ends with. Solution: Don't exclude the last character when it is not white space. Files: src/search.c *** ../vim61.114/src/search.c Thu May 16 21:41:07 2002 --- src/search.c Sat Jun 29 15:53:15 2002 *************** *** 3029,3035 **** if (start_blank) { find_first_blank(&curwin->w_cursor); ! decl(&curwin->w_cursor); } else if (c = gchar_cursor(), !vim_iswhite(c)) find_first_blank(&start_pos); --- 3029,3037 ---- if (start_blank) { find_first_blank(&curwin->w_cursor); ! c = gchar_pos(&curwin->w_cursor); /* vim_iswhite() is a macro */ ! if (vim_iswhite(c)) ! decl(&curwin->w_cursor); } else if (c = gchar_cursor(), !vim_iswhite(c)) find_first_blank(&start_pos); *** ../vim61.114/src/version.c Fri Jun 28 19:11:52 2002 --- src/version.c Sat Jun 29 15:56:32 2002 *************** *** 608,609 **** --- 608,611 ---- { /* Add new patch number below this line */ + /**/ + 115, /**/ -- ARTHUR: You fight with the strength of many men, Sir knight. I am Arthur, King of the Britons. [pause] I seek the finest and the bravest knights in the land to join me in my Court of Camelot. [pause] You have proved yourself worthy; will you join me? [pause] You make me sad. So be it. Come, Patsy. BLACK KNIGHT: None shall pass. The Quest for the Holy Grail (Monty Python) /// Bram Moolenaar -- Bram@moolenaar.net -- http://www.moolenaar.net \\\ /// Creator of Vim -- http://vim.sf.net -- ftp://ftp.vim.org/pub/vim \\\ \\\ Project leader for A-A-P -- http://www.a-a-p.org /// \\\ Help me helping AIDS orphans in Uganda - http://iccf-holland.org ///