|
|
22c937 |
To: vim_dev@googlegroups.com
|
|
|
22c937 |
Subject: Patch 7.4.275
|
|
|
22c937 |
Fcc: outbox
|
|
|
22c937 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
|
22c937 |
Mime-Version: 1.0
|
|
|
22c937 |
Content-Type: text/plain; charset=UTF-8
|
|
|
22c937 |
Content-Transfer-Encoding: 8bit
|
|
|
22c937 |
------------
|
|
|
22c937 |
|
|
|
22c937 |
Patch 7.4.275
|
|
|
22c937 |
Problem: When changing the type of a sign that hasn't been placed ther is
|
|
|
22c937 |
no error message.
|
|
|
22c937 |
Solution: Add an error message. (Christian Brabandt)
|
|
|
22c937 |
Files: src/ex_cmds.c
|
|
|
22c937 |
|
|
|
22c937 |
|
|
|
22c937 |
*** ../vim-7.4.274/src/ex_cmds.c 2014-04-29 12:15:22.856032651 +0200
|
|
|
22c937 |
--- src/ex_cmds.c 2014-05-07 14:38:31.293091622 +0200
|
|
|
22c937 |
***************
|
|
|
22c937 |
*** 7275,7281 ****
|
|
|
22c937 |
else
|
|
|
22c937 |
/* ":sign place {id} file={fname}": change sign type */
|
|
|
22c937 |
lnum = buf_change_sign_type(buf, id, sp->sn_typenr);
|
|
|
22c937 |
! update_debug_sign(buf, lnum);
|
|
|
22c937 |
}
|
|
|
22c937 |
else
|
|
|
22c937 |
EMSG(_(e_invarg));
|
|
|
22c937 |
--- 7275,7284 ----
|
|
|
22c937 |
else
|
|
|
22c937 |
/* ":sign place {id} file={fname}": change sign type */
|
|
|
22c937 |
lnum = buf_change_sign_type(buf, id, sp->sn_typenr);
|
|
|
22c937 |
! if (lnum > 0)
|
|
|
22c937 |
! update_debug_sign(buf, lnum);
|
|
|
22c937 |
! else
|
|
|
22c937 |
! EMSG2(_("E885: Not possible to change sign %s"), sign_name);
|
|
|
22c937 |
}
|
|
|
22c937 |
else
|
|
|
22c937 |
EMSG(_(e_invarg));
|
|
|
22c937 |
*** ../vim-7.4.274/src/version.c 2014-05-02 15:46:10.731268318 +0200
|
|
|
22c937 |
--- src/version.c 2014-05-07 14:18:32.581081129 +0200
|
|
|
22c937 |
***************
|
|
|
22c937 |
*** 736,737 ****
|
|
|
22c937 |
--- 736,739 ----
|
|
|
22c937 |
{ /* Add new patch number below this line */
|
|
|
22c937 |
+ /**/
|
|
|
22c937 |
+ 275,
|
|
|
22c937 |
/**/
|
|
|
22c937 |
|
|
|
22c937 |
--
|
|
|
22c937 |
hundred-and-one symptoms of being an internet addict:
|
|
|
22c937 |
117. You are more comfortable typing in html.
|
|
|
22c937 |
|
|
|
22c937 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
|
22c937 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
|
22c937 |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
|
22c937 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|