4 From: Bram Moolenaar <Bram@moolenaar.net>
6 Content-Type: text/plain; charset=ISO-8859-1
7 Content-Transfer-Encoding: 8bit
11 Problem: ml_get errors with both 'sidescroll' and 'spell' set.
12 Solution: Use ml_get_buf() instead of ml_get(), get the line from the right
13 buffer, not the current one.
17 *** ../vim-7.0.008/src/spell.c Wed May 10 15:22:50 2006
18 --- src/spell.c Tue May 9 18:55:04 2006
23 if (lnum < wp->w_buffer->b_ml.ml_line_count)
24 ! spell_cat_line(buf + STRLEN(buf), ml_get(lnum + 1), MAXWLEN);
31 if (lnum < wp->w_buffer->b_ml.ml_line_count)
32 ! spell_cat_line(buf + STRLEN(buf),
33 ! ml_get_buf(wp->w_buffer, lnum + 1, FALSE), MAXWLEN);
37 *** ../vim-7.0.008/src/version.c Wed May 10 17:40:17 2006
38 --- src/version.c Wed May 10 17:50:20 2006
42 { /* Add new patch number below this line */
49 ...for the taxes that I pay because it means that I am employed.
51 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
52 /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
53 \\\ download, build and distribute -- http://www.A-A-P.org ///
54 \\\ help me help AIDS victims -- http://ICCF-Holland.org ///