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