|
Karsten Hopp |
fefa3f |
To: vim_dev@googlegroups.com
|
|
Karsten Hopp |
fefa3f |
Subject: Patch 7.3.402
|
|
Karsten Hopp |
fefa3f |
Fcc: outbox
|
|
Karsten Hopp |
fefa3f |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
fefa3f |
Mime-Version: 1.0
|
|
Karsten Hopp |
fefa3f |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
fefa3f |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
fefa3f |
------------
|
|
Karsten Hopp |
fefa3f |
|
|
Karsten Hopp |
fefa3f |
Patch 7.3.402
|
|
Karsten Hopp |
fefa3f |
Problem: When jumping to the first error a line of the buffer is sometimes
|
|
Karsten Hopp |
fefa3f |
redrawn on top of the list of errors.
|
|
Karsten Hopp |
fefa3f |
Solution: Do not call update_topline_redraw() if the display was scrolled
|
|
Karsten Hopp |
fefa3f |
up.
|
|
Karsten Hopp |
fefa3f |
Files: src/quickfix.c
|
|
Karsten Hopp |
fefa3f |
|
|
Karsten Hopp |
fefa3f |
|
|
Karsten Hopp |
fefa3f |
*** ../vim-7.3.401/src/quickfix.c 2012-01-10 17:13:48.000000000 +0100
|
|
Karsten Hopp |
fefa3f |
--- src/quickfix.c 2012-01-20 13:13:25.000000000 +0100
|
|
Karsten Hopp |
fefa3f |
***************
|
|
Karsten Hopp |
fefa3f |
*** 1842,1849 ****
|
|
Karsten Hopp |
fefa3f |
#endif
|
|
Karsten Hopp |
fefa3f |
if (print_message)
|
|
Karsten Hopp |
fefa3f |
{
|
|
Karsten Hopp |
fefa3f |
! /* Update the screen before showing the message */
|
|
Karsten Hopp |
fefa3f |
! update_topline_redraw();
|
|
Karsten Hopp |
fefa3f |
sprintf((char *)IObuff, _("(%d of %d)%s%s: "), qf_index,
|
|
Karsten Hopp |
fefa3f |
qi->qf_lists[qi->qf_curlist].qf_count,
|
|
Karsten Hopp |
fefa3f |
qf_ptr->qf_cleared ? _(" (line deleted)") : "",
|
|
Karsten Hopp |
fefa3f |
--- 1842,1851 ----
|
|
Karsten Hopp |
fefa3f |
#endif
|
|
Karsten Hopp |
fefa3f |
if (print_message)
|
|
Karsten Hopp |
fefa3f |
{
|
|
Karsten Hopp |
fefa3f |
! /* Update the screen before showing the message, unless the screen
|
|
Karsten Hopp |
fefa3f |
! * scrolled up. */
|
|
Karsten Hopp |
fefa3f |
! if (!msg_scrolled)
|
|
Karsten Hopp |
fefa3f |
! update_topline_redraw();
|
|
Karsten Hopp |
fefa3f |
sprintf((char *)IObuff, _("(%d of %d)%s%s: "), qf_index,
|
|
Karsten Hopp |
fefa3f |
qi->qf_lists[qi->qf_curlist].qf_count,
|
|
Karsten Hopp |
fefa3f |
qf_ptr->qf_cleared ? _(" (line deleted)") : "",
|
|
Karsten Hopp |
fefa3f |
*** ../vim-7.3.401/src/version.c 2012-01-10 22:31:26.000000000 +0100
|
|
Karsten Hopp |
fefa3f |
--- src/version.c 2012-01-20 13:17:50.000000000 +0100
|
|
Karsten Hopp |
fefa3f |
***************
|
|
Karsten Hopp |
fefa3f |
*** 716,717 ****
|
|
Karsten Hopp |
fefa3f |
--- 716,719 ----
|
|
Karsten Hopp |
fefa3f |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
fefa3f |
+ /**/
|
|
Karsten Hopp |
fefa3f |
+ 402,
|
|
Karsten Hopp |
fefa3f |
/**/
|
|
Karsten Hopp |
fefa3f |
|
|
Karsten Hopp |
fefa3f |
--
|
|
Karsten Hopp |
fefa3f |
If all you have is a hammer, everything looks like a nail.
|
|
Karsten Hopp |
fefa3f |
When your hammer is C++, everything begins to look like a thumb.
|
|
Karsten Hopp |
fefa3f |
-- Steve Hoflich, comp.lang.c++
|
|
Karsten Hopp |
fefa3f |
|
|
Karsten Hopp |
fefa3f |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
fefa3f |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
fefa3f |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
Karsten Hopp |
fefa3f |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|