1 To: vim_dev@googlegroups.com
4 From: Bram Moolenaar <Bram@moolenaar.net>
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
11 Problem: ml_get error when executing register being recorded into, deleting
12 lines and 'conceallevel' is set. (ZyX)
13 Solution: Don't redraw a line for concealing when it doesn't exist.
17 *** ../vim-7.3.122/src/main.c 2010-12-17 18:06:00.000000000 +0100
18 --- src/main.c 2011-02-15 16:09:41.000000000 +0100
21 || conceal_cursor_line(curwin)
22 || need_cursor_line_redraw))
24 ! if (conceal_old_cursor_line != conceal_new_cursor_line)
25 update_single_line(curwin, conceal_old_cursor_line);
26 update_single_line(curwin, conceal_new_cursor_line);
27 curwin->w_valid &= ~VALID_CROW;
29 || conceal_cursor_line(curwin)
30 || need_cursor_line_redraw))
32 ! if (conceal_old_cursor_line != conceal_new_cursor_line
33 ! && conceal_old_cursor_line
34 ! <= curbuf->b_ml.ml_line_count)
35 update_single_line(curwin, conceal_old_cursor_line);
36 update_single_line(curwin, conceal_new_cursor_line);
37 curwin->w_valid &= ~VALID_CROW;
38 *** ../vim-7.3.122/src/version.c 2011-02-15 15:27:00.000000000 +0100
39 --- src/version.c 2011-02-15 16:15:28.000000000 +0100
43 { /* Add new patch number below this line */
49 hundred-and-one symptoms of being an internet addict:
50 268. You get up in the morning and go online before getting your coffee.
52 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
53 /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
54 \\\ an exciting new programming language -- http://www.Zimbu.org ///
55 \\\ help me help AIDS victims -- http://ICCF-Holland.org ///