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: Can't abort listing placed signs.
12 Solution: Check "got_int". (Christian Brabandt)
13 Files: src/buffer.c, src/ex_cmds.c
16 *** ../vim-7.3.470/src/buffer.c 2012-03-07 22:52:30.000000000 +0100
17 --- src/buffer.c 2012-03-16 13:54:48.000000000 +0100
25 if (buf->b_signlist != NULL)
31 ! while (buf != NULL && !got_int)
33 if (buf->b_signlist != NULL)
37 MSG_PUTS_ATTR(lbuf, hl_attr(HLF_D));
40 ! for (p = buf->b_signlist; p != NULL; p = p->next)
42 vim_snprintf(lbuf, BUFSIZ, _(" line=%ld id=%d name=%s"),
43 (long)p->lnum, p->id, sign_typenr2name(p->typenr));
45 MSG_PUTS_ATTR(lbuf, hl_attr(HLF_D));
48 ! for (p = buf->b_signlist; p != NULL && !got_int; p = p->next)
50 vim_snprintf(lbuf, BUFSIZ, _(" line=%ld id=%d name=%s"),
51 (long)p->lnum, p->id, sign_typenr2name(p->typenr));
52 *** ../vim-7.3.470/src/ex_cmds.c 2012-03-07 14:57:50.000000000 +0100
53 --- src/ex_cmds.c 2012-03-16 13:58:50.000000000 +0100
56 if (idx == SIGNCMD_LIST && *arg == NUL)
58 /* ":sign list": list all defined signs */
59 ! for (sp = first_sign; sp != NULL; sp = sp->sn_next)
60 sign_list_defined(sp);
64 if (idx == SIGNCMD_LIST && *arg == NUL)
66 /* ":sign list": list all defined signs */
67 ! for (sp = first_sign; sp != NULL && !got_int; sp = sp->sn_next)
68 sign_list_defined(sp);
71 *** ../vim-7.3.470/src/version.c 2012-03-07 22:55:17.000000000 +0100
72 --- src/version.c 2012-03-16 13:55:28.000000000 +0100
76 { /* Add new patch number below this line */
82 Some of the well know MS-Windows errors:
83 EMEMORY Memory error caused by..., eh...
84 ELICENSE Your license has expired, give us more money!
85 EMOUSE Mouse moved, reinstall Windows
86 EILLEGAL Illegal error, you are not allowed to see this
87 EVIRUS Undetectable virus found
89 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
90 /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
91 \\\ an exciting new programming language -- http://www.Zimbu.org ///
92 \\\ help me help AIDS victims -- http://ICCF-Holland.org ///