Karsten Hopp 331443
To: vim_dev@googlegroups.com
Karsten Hopp 331443
Subject: Patch 7.3.453
Karsten Hopp 331443
Fcc: outbox
Karsten Hopp 331443
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp 331443
Mime-Version: 1.0
Karsten Hopp 331443
Content-Type: text/plain; charset=UTF-8
Karsten Hopp 331443
Content-Transfer-Encoding: 8bit
Karsten Hopp 331443
------------
Karsten Hopp 331443
Karsten Hopp 331443
Patch 7.3.453
Karsten Hopp 331443
Problem:    Pasting in the command line is slow.
Karsten Hopp 331443
Solution:   Don't redraw if there is another character to read. (Dominique
Karsten Hopp 331443
	    Pelle)
Karsten Hopp 331443
Files:	    src/ex_getln.c
Karsten Hopp 331443
Karsten Hopp 331443
Karsten Hopp 331443
*** ../vim-7.3.452/src/ex_getln.c	2012-02-22 14:58:24.000000000 +0100
Karsten Hopp 331443
--- src/ex_getln.c	2012-02-22 17:53:32.000000000 +0100
Karsten Hopp 331443
***************
Karsten Hopp 331443
*** 1852,1859 ****
Karsten Hopp 331443
  # endif
Karsten Hopp 331443
  		)
Karsten Hopp 331443
  	    /* Always redraw the whole command line to fix shaping and
Karsten Hopp 331443
! 	     * right-left typing.  Not efficient, but it works. */
Karsten Hopp 331443
! 	    redrawcmd();
Karsten Hopp 331443
  #endif
Karsten Hopp 331443
      }
Karsten Hopp 331443
  
Karsten Hopp 331443
--- 1852,1862 ----
Karsten Hopp 331443
  # endif
Karsten Hopp 331443
  		)
Karsten Hopp 331443
  	    /* Always redraw the whole command line to fix shaping and
Karsten Hopp 331443
! 	     * right-left typing.  Not efficient, but it works.
Karsten Hopp 331443
! 	     * Do it only when there are no characters left to read
Karsten Hopp 331443
! 	     * to avoid useless intermediate redraws. */
Karsten Hopp 331443
! 	    if (vpeekc() == NUL)
Karsten Hopp 331443
! 		redrawcmd();
Karsten Hopp 331443
  #endif
Karsten Hopp 331443
      }
Karsten Hopp 331443
  
Karsten Hopp 331443
*** ../vim-7.3.452/src/version.c	2012-02-22 17:37:55.000000000 +0100
Karsten Hopp 331443
--- src/version.c	2012-02-22 17:56:59.000000000 +0100
Karsten Hopp 331443
***************
Karsten Hopp 331443
*** 716,717 ****
Karsten Hopp 331443
--- 716,719 ----
Karsten Hopp 331443
  {   /* Add new patch number below this line */
Karsten Hopp 331443
+ /**/
Karsten Hopp 331443
+     453,
Karsten Hopp 331443
  /**/
Karsten Hopp 331443
Karsten Hopp 331443
-- 
Karsten Hopp 331443
From "know your smileys":
Karsten Hopp 331443
 <<<:-{    Worf (Never smiles anyways, so he's a bad smiley)
Karsten Hopp 331443
Karsten Hopp 331443
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp 331443
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp 331443
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
Karsten Hopp 331443
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///