To: vim-dev@vim.org Subject: Patch 6.0ax.012 Fcc: outbox From: Bram Moolenaar ------------ Patch 6.0ax.012 Problem: When 'cpoptions' contains "$", breaking a line for 'textwidth' doesn't redraw properly. (Stefan Schulze) Solution: Remove the dollar before breaking the line. Files: src/edit.c *** ../vim60ax.11/src/edit.c Wed Sep 19 11:41:25 2001 --- src/edit.c Sun Sep 23 21:34:28 2001 *************** *** 3856,3861 **** --- 3856,3864 ---- break; } + /* Going to break the line, remove any "$" now. */ + undisplay_dollar(); + /* * Offset between cursor position and line break is used by replace * stack functions. VREPLACE does not use this, and backspaces *** ../vim60ax.11/src/version.c Fri Sep 21 22:39:49 2001 --- src/version.c Sun Sep 23 21:40:10 2001 *************** *** 608,609 **** --- 608,611 ---- { /* Add new patch number below this line */ + /**/ + 12, /**/ -- (letter from Mark to Mike, about the film's probable certificate) For an 'A' we would have to: Lose as may shits as possible Take Jesus Christ out, if possible Loose "I fart in your general direction" Lose "the oral sex" Lose "oh, fuck off" Lose "We make castanets out of your testicles" "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD /// Bram Moolenaar -- Bram@moolenaar.net -- http://www.moolenaar.net \\\ ((( Creator of Vim -- http://vim.sf.net -- ftp://ftp.vim.org/pub/vim ))) \\\ Help me helping AIDS orphans in Uganda - http://iccf-holland.org ///