]>
Commit | Line | Data |
---|---|---|
5ee5dc07 AM |
1 | To: vim-dev@vim.org |
2 | Subject: Patch 7.0.009 | |
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 7.0.009 | |
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. | |
14 | Files: src/spell.c | |
15 | ||
16 | ||
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 | |
19 | *************** | |
20 | *** 2108,2114 **** | |
21 | * possible. */ | |
22 | STRCPY(buf, line); | |
23 | if (lnum < wp->w_buffer->b_ml.ml_line_count) | |
24 | ! spell_cat_line(buf + STRLEN(buf), ml_get(lnum + 1), MAXWLEN); | |
25 | ||
26 | p = buf + skip; | |
27 | endp = buf + len; | |
28 | --- 2108,2115 ---- | |
29 | * possible. */ | |
30 | STRCPY(buf, line); | |
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); | |
34 | ||
35 | p = buf + skip; | |
36 | endp = buf + len; | |
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 | |
39 | *************** | |
40 | *** 668,669 **** | |
41 | --- 668,671 ---- | |
42 | { /* Add new patch number below this line */ | |
43 | + /**/ | |
44 | + 9, | |
45 | /**/ | |
46 | ||
47 | -- | |
48 | I AM THANKFUL... | |
49 | ...for the taxes that I pay because it means that I am employed. | |
50 | ||
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 /// |