mirror of
https://github.com/vim/vim.git
synced 2025-09-25 03:54:15 -04:00
updated for version 7.3.471
Problem: Can't abort listing placed signs. Solution: Check "got_int". (Christian Brabandt)
This commit is contained in:
@@ -5557,7 +5557,7 @@ sign_list_placed(rbuf)
|
|||||||
buf = firstbuf;
|
buf = firstbuf;
|
||||||
else
|
else
|
||||||
buf = rbuf;
|
buf = rbuf;
|
||||||
while (buf != NULL)
|
while (buf != NULL && !got_int)
|
||||||
{
|
{
|
||||||
if (buf->b_signlist != NULL)
|
if (buf->b_signlist != NULL)
|
||||||
{
|
{
|
||||||
@@ -5565,7 +5565,7 @@ sign_list_placed(rbuf)
|
|||||||
MSG_PUTS_ATTR(lbuf, hl_attr(HLF_D));
|
MSG_PUTS_ATTR(lbuf, hl_attr(HLF_D));
|
||||||
msg_putchar('\n');
|
msg_putchar('\n');
|
||||||
}
|
}
|
||||||
for (p = buf->b_signlist; p != NULL; p = p->next)
|
for (p = buf->b_signlist; p != NULL && !got_int; p = p->next)
|
||||||
{
|
{
|
||||||
vim_snprintf(lbuf, BUFSIZ, _(" line=%ld id=%d name=%s"),
|
vim_snprintf(lbuf, BUFSIZ, _(" line=%ld id=%d name=%s"),
|
||||||
(long)p->lnum, p->id, sign_typenr2name(p->typenr));
|
(long)p->lnum, p->id, sign_typenr2name(p->typenr));
|
||||||
|
@@ -6729,7 +6729,7 @@ ex_sign(eap)
|
|||||||
if (idx == SIGNCMD_LIST && *arg == NUL)
|
if (idx == SIGNCMD_LIST && *arg == NUL)
|
||||||
{
|
{
|
||||||
/* ":sign list": list all defined signs */
|
/* ":sign list": list all defined signs */
|
||||||
for (sp = first_sign; sp != NULL; sp = sp->sn_next)
|
for (sp = first_sign; sp != NULL && !got_int; sp = sp->sn_next)
|
||||||
sign_list_defined(sp);
|
sign_list_defined(sp);
|
||||||
}
|
}
|
||||||
else if (*arg == NUL)
|
else if (*arg == NUL)
|
||||||
|
@@ -714,6 +714,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
471,
|
||||||
/**/
|
/**/
|
||||||
470,
|
470,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user