e1e71b6
To: vim_dev@googlegroups.com
e1e71b6
Subject: Patch 7.3.149
e1e71b6
Fcc: outbox
e1e71b6
From: Bram Moolenaar <Bram@moolenaar.net>
e1e71b6
Mime-Version: 1.0
e1e71b6
Content-Type: text/plain; charset=UTF-8
e1e71b6
Content-Transfer-Encoding: 8bit
e1e71b6
------------
e1e71b6
e1e71b6
Patch 7.3.149
e1e71b6
Problem:    The cursor disappears after the processing of the 'setDot'
e1e71b6
	    netbeans command when vim runs in a terminal.
e1e71b6
Solution:   Show the cursor after a screen update. (Xavier de Gaye, 2011
e1e71b6
Files:	    src/netbeans.c
e1e71b6
e1e71b6
e1e71b6
*** ../vim-7.3.148/src/netbeans.c	2011-01-04 18:11:39.000000000 +0100
e1e71b6
--- src/netbeans.c	2011-04-01 15:33:49.000000000 +0200
e1e71b6
***************
e1e71b6
*** 191,196 ****
e1e71b6
--- 191,197 ----
e1e71b6
      changed_window_setting();
e1e71b6
      update_screen(CLEAR);
e1e71b6
      setcursor();
e1e71b6
+     cursor_on();
e1e71b6
      out_flush();
e1e71b6
  #ifdef FEAT_GUI
e1e71b6
      if (gui.in_use)
e1e71b6
***************
e1e71b6
*** 2248,2253 ****
e1e71b6
--- 2249,2255 ----
e1e71b6
  	    update_topline();		/* scroll to show the line */
e1e71b6
  	    update_screen(VALID);
e1e71b6
  	    setcursor();
e1e71b6
+ 	    cursor_on();
e1e71b6
  	    out_flush();
e1e71b6
  #ifdef FEAT_GUI
e1e71b6
  	    if (gui.in_use)
e1e71b6
***************
e1e71b6
*** 2642,2647 ****
e1e71b6
--- 2644,2650 ----
e1e71b6
      {
e1e71b6
  	update_screen(NOT_VALID);
e1e71b6
  	setcursor();
e1e71b6
+ 	cursor_on();
e1e71b6
  	out_flush();
e1e71b6
  #ifdef FEAT_GUI
e1e71b6
  	if (gui.in_use)
e1e71b6
***************
e1e71b6
*** 3008,3013 ****
e1e71b6
--- 3011,3017 ----
e1e71b6
      changed_window_setting();
e1e71b6
      update_screen(CLEAR);
e1e71b6
      setcursor();
e1e71b6
+     cursor_on();
e1e71b6
      out_flush();
e1e71b6
  #ifdef FEAT_GUI
e1e71b6
      if (gui.in_use)
e1e71b6
*** ../vim-7.3.148/src/version.c	2011-04-01 14:44:54.000000000 +0200
e1e71b6
--- src/version.c	2011-04-01 15:33:21.000000000 +0200
e1e71b6
***************
e1e71b6
*** 716,717 ****
e1e71b6
--- 716,719 ----
e1e71b6
  {   /* Add new patch number below this line */
e1e71b6
+ /**/
e1e71b6
+     149,
e1e71b6
  /**/
e1e71b6
e1e71b6
-- 
e1e71b6
ARTHUR:       You are indeed brave Sir knight, but the fight is mine.
e1e71b6
BLACK KNIGHT: Had enough?
e1e71b6
ARTHUR:       You stupid bastard.  You havn't got any arms left.
e1e71b6
                 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
e1e71b6
e1e71b6
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
e1e71b6
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
e1e71b6
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
e1e71b6
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///