|
Karsten Hopp |
464d6f |
To: vim-dev@vim.org
|
|
Karsten Hopp |
464d6f |
Subject: Patch 7.1.160
|
|
Karsten Hopp |
464d6f |
Fcc: outbox
|
|
Karsten Hopp |
464d6f |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
464d6f |
Mime-Version: 1.0
|
|
Karsten Hopp |
464d6f |
Content-Type: text/plain; charset=ISO-8859-1
|
|
Karsten Hopp |
464d6f |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
464d6f |
------------
|
|
Karsten Hopp |
464d6f |
|
|
Karsten Hopp |
464d6f |
Patch 7.1.160
|
|
Karsten Hopp |
464d6f |
Problem: When a focus autocommand is defined, getting or losing focus
|
|
Karsten Hopp |
464d6f |
causes the hit-enter prompt to be redrawn. (Bjorn Winckler)
|
|
Karsten Hopp |
464d6f |
Solution: Overwrite the last line.
|
|
Karsten Hopp |
464d6f |
Files: src/message.c
|
|
Karsten Hopp |
464d6f |
|
|
Karsten Hopp |
464d6f |
|
|
Karsten Hopp |
464d6f |
*** ../vim-7.1.159/src/message.c Thu Sep 13 22:04:30 2007
|
|
Karsten Hopp |
464d6f |
--- src/message.c Sun Nov 4 17:33:15 2007
|
|
Karsten Hopp |
464d6f |
***************
|
|
Karsten Hopp |
464d6f |
*** 2850,2855 ****
|
|
Karsten Hopp |
464d6f |
--- 2850,2864 ----
|
|
Karsten Hopp |
464d6f |
}
|
|
Karsten Hopp |
464d6f |
else if (State == HITRETURN || State == SETWSIZE)
|
|
Karsten Hopp |
464d6f |
{
|
|
Karsten Hopp |
464d6f |
+ if (msg_row == Rows - 1)
|
|
Karsten Hopp |
464d6f |
+ {
|
|
Karsten Hopp |
464d6f |
+ /* Avoid drawing the "hit-enter" prompt below the previous one,
|
|
Karsten Hopp |
464d6f |
+ * overwrite it. Esp. useful when regaining focus and a
|
|
Karsten Hopp |
464d6f |
+ * FocusGained autocmd exists but didn't draw anything. */
|
|
Karsten Hopp |
464d6f |
+ msg_didout = FALSE;
|
|
Karsten Hopp |
464d6f |
+ msg_col = 0;
|
|
Karsten Hopp |
464d6f |
+ msg_clr_eos();
|
|
Karsten Hopp |
464d6f |
+ }
|
|
Karsten Hopp |
464d6f |
hit_return_msg();
|
|
Karsten Hopp |
464d6f |
msg_row = Rows - 1;
|
|
Karsten Hopp |
464d6f |
}
|
|
Karsten Hopp |
464d6f |
*** ../vim-7.1.159/src/version.c Tue Nov 20 18:03:34 2007
|
|
Karsten Hopp |
464d6f |
--- src/version.c Sat Nov 24 15:41:43 2007
|
|
Karsten Hopp |
464d6f |
***************
|
|
Karsten Hopp |
464d6f |
*** 668,669 ****
|
|
Karsten Hopp |
464d6f |
--- 668,671 ----
|
|
Karsten Hopp |
464d6f |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
464d6f |
+ /**/
|
|
Karsten Hopp |
464d6f |
+ 160,
|
|
Karsten Hopp |
464d6f |
/**/
|
|
Karsten Hopp |
464d6f |
|
|
Karsten Hopp |
464d6f |
--
|
|
Karsten Hopp |
464d6f |
hundred-and-one symptoms of being an internet addict:
|
|
Karsten Hopp |
464d6f |
142. You dream about creating the world's greatest web site.
|
|
Karsten Hopp |
464d6f |
|
|
Karsten Hopp |
464d6f |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
464d6f |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
464d6f |
\\\ download, build and distribute -- http://www.A-A-P.org ///
|
|
Karsten Hopp |
464d6f |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|