|
Karsten Hopp |
d80376 |
To: vim-dev@vim.org
|
|
Karsten Hopp |
d80376 |
Subject: Patch 7.0.034
|
|
Karsten Hopp |
d80376 |
Fcc: outbox
|
|
Karsten Hopp |
d80376 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
d80376 |
Mime-Version: 1.0
|
|
Karsten Hopp |
d80376 |
Content-Type: text/plain; charset=ISO-8859-1
|
|
Karsten Hopp |
d80376 |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
d80376 |
------------
|
|
Karsten Hopp |
d80376 |
|
|
Karsten Hopp |
d80376 |
Patch 7.0.034
|
|
Karsten Hopp |
d80376 |
Problem: After doing completion and typing more characters or using BS
|
|
Karsten Hopp |
d80376 |
repeating with "." didn't work properly. (Martin Stubenschrott)
|
|
Karsten Hopp |
d80376 |
Solution: Don't put BS and other characters in the redo buffer right away,
|
|
Karsten Hopp |
d80376 |
do this when finishing completion.
|
|
Karsten Hopp |
d80376 |
Files: src/edit.c
|
|
Karsten Hopp |
d80376 |
|
|
Karsten Hopp |
d80376 |
|
|
Karsten Hopp |
d80376 |
*** ../vim-7.0.033/src/edit.c Thu Jun 22 16:48:43 2006
|
|
Karsten Hopp |
d80376 |
--- src/edit.c Fri Jun 23 17:50:47 2006
|
|
Karsten Hopp |
d80376 |
***************
|
|
Karsten Hopp |
d80376 |
*** 3020,3028 ****
|
|
Karsten Hopp |
d80376 |
if ((int)(p - line) - (int)compl_col <= 0)
|
|
Karsten Hopp |
d80376 |
return K_BS;
|
|
Karsten Hopp |
d80376 |
|
|
Karsten Hopp |
d80376 |
- /* For redo we need to repeat this backspace. */
|
|
Karsten Hopp |
d80376 |
- AppendCharToRedobuff(K_BS);
|
|
Karsten Hopp |
d80376 |
-
|
|
Karsten Hopp |
d80376 |
/* Deleted more than what was used to find matches or didn't finish
|
|
Karsten Hopp |
d80376 |
* finding all matches: need to look for matches all over again. */
|
|
Karsten Hopp |
d80376 |
if (curwin->w_cursor.col <= compl_col + compl_length
|
|
Karsten Hopp |
d80376 |
--- 3020,3025 ----
|
|
Karsten Hopp |
d80376 |
***************
|
|
Karsten Hopp |
d80376 |
*** 3121,3130 ****
|
|
Karsten Hopp |
d80376 |
else
|
|
Karsten Hopp |
d80376 |
#endif
|
|
Karsten Hopp |
d80376 |
ins_char(c);
|
|
Karsten Hopp |
d80376 |
-
|
|
Karsten Hopp |
d80376 |
- /* For redo we need to count this character so that the number of
|
|
Karsten Hopp |
d80376 |
- * backspaces is correct. */
|
|
Karsten Hopp |
d80376 |
- AppendCharToRedobuff(c);
|
|
Karsten Hopp |
d80376 |
|
|
Karsten Hopp |
d80376 |
/* If we didn't complete finding matches we must search again. */
|
|
Karsten Hopp |
d80376 |
if (compl_was_interrupted)
|
|
Karsten Hopp |
d80376 |
--- 3118,3123 ----
|
|
Karsten Hopp |
d80376 |
*** ../vim-7.0.033/src/version.c Fri Jun 23 17:26:02 2006
|
|
Karsten Hopp |
d80376 |
--- src/version.c Fri Jun 23 17:59:04 2006
|
|
Karsten Hopp |
d80376 |
***************
|
|
Karsten Hopp |
d80376 |
*** 668,669 ****
|
|
Karsten Hopp |
d80376 |
--- 668,671 ----
|
|
Karsten Hopp |
d80376 |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
d80376 |
+ /**/
|
|
Karsten Hopp |
d80376 |
+ 34,
|
|
Karsten Hopp |
d80376 |
/**/
|
|
Karsten Hopp |
d80376 |
|
|
Karsten Hopp |
d80376 |
--
|
|
Karsten Hopp |
d80376 |
A parent can be arrested if his child cannot hold back a burp during a church
|
|
Karsten Hopp |
d80376 |
service.
|
|
Karsten Hopp |
d80376 |
[real standing law in Nebraska, United States of America]
|
|
Karsten Hopp |
d80376 |
|
|
Karsten Hopp |
d80376 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
d80376 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
d80376 |
\\\ download, build and distribute -- http://www.A-A-P.org ///
|
|
Karsten Hopp |
d80376 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|