summaryrefslogtreecommitdiff
blob: 64371c25acc1e13e0dafefaceb17bb297a4a8080 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
To: vim-dev@vim.org
Subject: Patch 6.0.085
Fcc: outbox
From: Bram Moolenaar <Bram@moolenaar.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
------------

Patch 6.0.085
Problem:    When 'mousefocus' is set, using "s" to go to Insert mode and then
	    moving the mouse pointer to another window stops Insert mode,
	    while this doesn't happen with "a" or "i". (Robert Webb) 
Solution:   Reset finish_op before calling edit().
Files:	    src/normal.c


*** ../vim60.84/src/normal.c	Tue Nov  6 14:25:46 2001
--- src/normal.c	Tue Nov  6 14:34:26 2001
***************
*** 1736,1741 ****
--- 1736,1743 ----
  		else
  		    restart_edit_save = 0;
  		restart_edit = 0;
+ 		/* Reset finish_op now, don't want it set inside edit(). */
+ 		finish_op = FALSE;
  		if (op_change(oap))	/* will call edit() */
  		    cap->retval |= CA_COMMAND_BUSY;
  		if (restart_edit == 0)
*** ../vim60.84/src/version.c	Tue Nov  6 14:25:46 2001
--- src/version.c	Tue Nov  6 14:38:23 2001
***************
*** 608,609 ****
--- 608,611 ----
  {   /* Add new patch number below this line */
+ /**/
+     85,
  /**/

-- 
If all you have is a hammer, everything looks like a nail.
When your hammer is C++, everything begins to look like a thumb.
			-- Steve Hoflich, comp.lang.c++

 ///  Bram Moolenaar -- Bram@moolenaar.net -- http://www.moolenaar.net  \\\
(((   Creator of Vim -- http://vim.sf.net -- ftp://ftp.vim.org/pub/vim   )))
 \\\  Help me helping AIDS orphans in Uganda - http://iccf-holland.org  ///