|
Karsten Hopp |
3b6a99 |
To: vim-dev@vim.org
|
|
Karsten Hopp |
3b6a99 |
Subject: Patch 7.0.139
|
|
Karsten Hopp |
3b6a99 |
Fcc: outbox
|
|
Karsten Hopp |
3b6a99 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
3b6a99 |
Mime-Version: 1.0
|
|
Karsten Hopp |
3b6a99 |
Content-Type: text/plain; charset=ISO-8859-1
|
|
Karsten Hopp |
3b6a99 |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
3b6a99 |
------------
|
|
Karsten Hopp |
3b6a99 |
|
|
Karsten Hopp |
3b6a99 |
Patch 7.0.139
|
|
Karsten Hopp |
3b6a99 |
Problem: Using CTRL-PageUp or CTRL-PageDown in Insert mode to go to another
|
|
Karsten Hopp |
3b6a99 |
tab page does not prepare for undo properly. (Stefano Zacchiroli)
|
|
Karsten Hopp |
3b6a99 |
Solution: Call start_arrow() before switching tab page.
|
|
Karsten Hopp |
3b6a99 |
Files: src/edit.c
|
|
Karsten Hopp |
3b6a99 |
|
|
Karsten Hopp |
3b6a99 |
|
|
Karsten Hopp |
3b6a99 |
*** ../vim-7.0.138/src/edit.c Sat Oct 14 14:33:21 2006
|
|
Karsten Hopp |
3b6a99 |
--- src/edit.c Mon Oct 16 21:28:05 2006
|
|
Karsten Hopp |
3b6a99 |
***************
|
|
Karsten Hopp |
3b6a99 |
*** 8822,8828 ****
|
|
Karsten Hopp |
3b6a99 |
if (mod_mask & MOD_MASK_CTRL)
|
|
Karsten Hopp |
3b6a99 |
{
|
|
Karsten Hopp |
3b6a99 |
/* <C-PageUp>: tab page back */
|
|
Karsten Hopp |
3b6a99 |
! goto_tabpage(-1);
|
|
Karsten Hopp |
3b6a99 |
return;
|
|
Karsten Hopp |
3b6a99 |
}
|
|
Karsten Hopp |
3b6a99 |
#endif
|
|
Karsten Hopp |
3b6a99 |
--- 8822,8832 ----
|
|
Karsten Hopp |
3b6a99 |
if (mod_mask & MOD_MASK_CTRL)
|
|
Karsten Hopp |
3b6a99 |
{
|
|
Karsten Hopp |
3b6a99 |
/* <C-PageUp>: tab page back */
|
|
Karsten Hopp |
3b6a99 |
! if (first_tabpage->tp_next != NULL)
|
|
Karsten Hopp |
3b6a99 |
! {
|
|
Karsten Hopp |
3b6a99 |
! start_arrow(&curwin->w_cursor);
|
|
Karsten Hopp |
3b6a99 |
! goto_tabpage(-1);
|
|
Karsten Hopp |
3b6a99 |
! }
|
|
Karsten Hopp |
3b6a99 |
return;
|
|
Karsten Hopp |
3b6a99 |
}
|
|
Karsten Hopp |
3b6a99 |
#endif
|
|
Karsten Hopp |
3b6a99 |
***************
|
|
Karsten Hopp |
3b6a99 |
*** 8881,8887 ****
|
|
Karsten Hopp |
3b6a99 |
if (mod_mask & MOD_MASK_CTRL)
|
|
Karsten Hopp |
3b6a99 |
{
|
|
Karsten Hopp |
3b6a99 |
/* <C-PageDown>: tab page forward */
|
|
Karsten Hopp |
3b6a99 |
! goto_tabpage(0);
|
|
Karsten Hopp |
3b6a99 |
return;
|
|
Karsten Hopp |
3b6a99 |
}
|
|
Karsten Hopp |
3b6a99 |
#endif
|
|
Karsten Hopp |
3b6a99 |
--- 8885,8895 ----
|
|
Karsten Hopp |
3b6a99 |
if (mod_mask & MOD_MASK_CTRL)
|
|
Karsten Hopp |
3b6a99 |
{
|
|
Karsten Hopp |
3b6a99 |
/* <C-PageDown>: tab page forward */
|
|
Karsten Hopp |
3b6a99 |
! if (first_tabpage->tp_next != NULL)
|
|
Karsten Hopp |
3b6a99 |
! {
|
|
Karsten Hopp |
3b6a99 |
! start_arrow(&curwin->w_cursor);
|
|
Karsten Hopp |
3b6a99 |
! goto_tabpage(0);
|
|
Karsten Hopp |
3b6a99 |
! }
|
|
Karsten Hopp |
3b6a99 |
return;
|
|
Karsten Hopp |
3b6a99 |
}
|
|
Karsten Hopp |
3b6a99 |
#endif
|
|
Karsten Hopp |
3b6a99 |
*** ../vim-7.0.138/src/version.c Tue Oct 17 12:53:31 2006
|
|
Karsten Hopp |
3b6a99 |
--- src/version.c Tue Oct 17 13:38:27 2006
|
|
Karsten Hopp |
3b6a99 |
***************
|
|
Karsten Hopp |
3b6a99 |
*** 668,669 ****
|
|
Karsten Hopp |
3b6a99 |
--- 668,671 ----
|
|
Karsten Hopp |
3b6a99 |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
3b6a99 |
+ /**/
|
|
Karsten Hopp |
3b6a99 |
+ 139,
|
|
Karsten Hopp |
3b6a99 |
/**/
|
|
Karsten Hopp |
3b6a99 |
|
|
Karsten Hopp |
3b6a99 |
--
|
|
Karsten Hopp |
3b6a99 |
hundred-and-one symptoms of being an internet addict:
|
|
Karsten Hopp |
3b6a99 |
53. To find out what time it is, you send yourself an e-mail and check the
|
|
Karsten Hopp |
3b6a99 |
"Date:" field.
|
|
Karsten Hopp |
3b6a99 |
|
|
Karsten Hopp |
3b6a99 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
3b6a99 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
3b6a99 |
\\\ download, build and distribute -- http://www.A-A-P.org ///
|
|
Karsten Hopp |
3b6a99 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|