|
Karsten Hopp |
906683 |
To: vim_dev@googlegroups.com
|
|
Karsten Hopp |
906683 |
Subject: Patch 7.3.540
|
|
Karsten Hopp |
906683 |
Fcc: outbox
|
|
Karsten Hopp |
906683 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
906683 |
Mime-Version: 1.0
|
|
Karsten Hopp |
906683 |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
906683 |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
906683 |
------------
|
|
Karsten Hopp |
906683 |
|
|
Karsten Hopp |
906683 |
Patch 7.3.540
|
|
Karsten Hopp |
906683 |
Problem: Cursor is left on the text instead of the command line.
|
|
Karsten Hopp |
906683 |
Solution: Don't call setcursor() in command line mode.
|
|
Karsten Hopp |
906683 |
Files: src/getchar.c
|
|
Karsten Hopp |
906683 |
|
|
Karsten Hopp |
906683 |
|
|
Karsten Hopp |
906683 |
*** ../vim-7.3.539/src/getchar.c 2012-06-01 15:20:49.000000000 +0200
|
|
Karsten Hopp |
906683 |
--- src/getchar.c 2012-06-06 11:58:05.000000000 +0200
|
|
Karsten Hopp |
906683 |
***************
|
|
Karsten Hopp |
906683 |
*** 2819,2825 ****
|
|
Karsten Hopp |
906683 |
edit_unputchar();
|
|
Karsten Hopp |
906683 |
if (State & CMDLINE)
|
|
Karsten Hopp |
906683 |
unputcmdline();
|
|
Karsten Hopp |
906683 |
! setcursor(); /* put cursor back where it belongs */
|
|
Karsten Hopp |
906683 |
}
|
|
Karsten Hopp |
906683 |
|
|
Karsten Hopp |
906683 |
if (c < 0)
|
|
Karsten Hopp |
906683 |
--- 2819,2826 ----
|
|
Karsten Hopp |
906683 |
edit_unputchar();
|
|
Karsten Hopp |
906683 |
if (State & CMDLINE)
|
|
Karsten Hopp |
906683 |
unputcmdline();
|
|
Karsten Hopp |
906683 |
! else
|
|
Karsten Hopp |
906683 |
! setcursor(); /* put cursor back where it belongs */
|
|
Karsten Hopp |
906683 |
}
|
|
Karsten Hopp |
906683 |
|
|
Karsten Hopp |
906683 |
if (c < 0)
|
|
Karsten Hopp |
906683 |
*** ../vim-7.3.539/src/version.c 2012-06-06 12:02:57.000000000 +0200
|
|
Karsten Hopp |
906683 |
--- src/version.c 2012-06-06 12:05:22.000000000 +0200
|
|
Karsten Hopp |
906683 |
***************
|
|
Karsten Hopp |
906683 |
*** 716,717 ****
|
|
Karsten Hopp |
906683 |
--- 716,719 ----
|
|
Karsten Hopp |
906683 |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
906683 |
+ /**/
|
|
Karsten Hopp |
906683 |
+ 540,
|
|
Karsten Hopp |
906683 |
/**/
|
|
Karsten Hopp |
906683 |
|
|
Karsten Hopp |
906683 |
--
|
|
Karsten Hopp |
906683 |
"Making it up? Why should I want to make anything up? Life's bad enough
|
|
Karsten Hopp |
906683 |
as it is without wanting to invent any more of it."
|
|
Karsten Hopp |
906683 |
-- Marvin, the Paranoid Android in Douglas Adams'
|
|
Karsten Hopp |
906683 |
"The Hitchhiker's Guide to the Galaxy"
|
|
Karsten Hopp |
906683 |
|
|
Karsten Hopp |
906683 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
906683 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
906683 |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
Karsten Hopp |
906683 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|