|
Karsten Hopp |
81c285 |
To: vim-dev@vim.org
|
|
Karsten Hopp |
81c285 |
Subject: Patch 7.2.235
|
|
Karsten Hopp |
81c285 |
Fcc: outbox
|
|
Karsten Hopp |
81c285 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
81c285 |
Mime-Version: 1.0
|
|
Karsten Hopp |
81c285 |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
81c285 |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
81c285 |
------------
|
|
Karsten Hopp |
81c285 |
|
|
Karsten Hopp |
81c285 |
Patch 7.2.235
|
|
Karsten Hopp |
81c285 |
Problem: Using CTRL-O z= in Insert mode has a delay before redrawing.
|
|
Karsten Hopp |
81c285 |
Solution: Reset msg_didout and msg_scroll.
|
|
Karsten Hopp |
81c285 |
Files: src/misc1.c, src/spell.c
|
|
Karsten Hopp |
81c285 |
|
|
Karsten Hopp |
81c285 |
|
|
Karsten Hopp |
81c285 |
*** ../vim-7.2.234/src/misc1.c 2009-07-14 21:40:30.000000000 +0200
|
|
Karsten Hopp |
81c285 |
--- src/misc1.c 2009-07-14 15:51:55.000000000 +0200
|
|
Karsten Hopp |
81c285 |
***************
|
|
Karsten Hopp |
81c285 |
*** 3276,3281 ****
|
|
Karsten Hopp |
81c285 |
--- 3276,3282 ----
|
|
Karsten Hopp |
81c285 |
cmdline_row = msg_row - 1;
|
|
Karsten Hopp |
81c285 |
need_wait_return = FALSE;
|
|
Karsten Hopp |
81c285 |
msg_didany = FALSE;
|
|
Karsten Hopp |
81c285 |
+ msg_didout = FALSE;
|
|
Karsten Hopp |
81c285 |
}
|
|
Karsten Hopp |
81c285 |
else
|
|
Karsten Hopp |
81c285 |
cmdline_row = save_cmdline_row;
|
|
Karsten Hopp |
81c285 |
*** ../vim-7.2.234/src/spell.c 2009-05-17 13:30:58.000000000 +0200
|
|
Karsten Hopp |
81c285 |
--- src/spell.c 2009-07-14 15:57:55.000000000 +0200
|
|
Karsten Hopp |
81c285 |
***************
|
|
Karsten Hopp |
81c285 |
*** 10252,10257 ****
|
|
Karsten Hopp |
81c285 |
--- 10252,10258 ----
|
|
Karsten Hopp |
81c285 |
int limit;
|
|
Karsten Hopp |
81c285 |
int selected = count;
|
|
Karsten Hopp |
81c285 |
int badlen = 0;
|
|
Karsten Hopp |
81c285 |
+ int msg_scroll_save = msg_scroll;
|
|
Karsten Hopp |
81c285 |
|
|
Karsten Hopp |
81c285 |
if (no_spell_checking(curwin))
|
|
Karsten Hopp |
81c285 |
return;
|
|
Karsten Hopp |
81c285 |
***************
|
|
Karsten Hopp |
81c285 |
*** 10416,10422 ****
|
|
Karsten Hopp |
81c285 |
selected = prompt_for_number(&mouse_used);
|
|
Karsten Hopp |
81c285 |
if (mouse_used)
|
|
Karsten Hopp |
81c285 |
selected -= lines_left;
|
|
Karsten Hopp |
81c285 |
! lines_left = Rows; /* avoid more prompt */
|
|
Karsten Hopp |
81c285 |
}
|
|
Karsten Hopp |
81c285 |
|
|
Karsten Hopp |
81c285 |
if (selected > 0 && selected <= sug.su_ga.ga_len && u_save_cursor() == OK)
|
|
Karsten Hopp |
81c285 |
--- 10417,10425 ----
|
|
Karsten Hopp |
81c285 |
selected = prompt_for_number(&mouse_used);
|
|
Karsten Hopp |
81c285 |
if (mouse_used)
|
|
Karsten Hopp |
81c285 |
selected -= lines_left;
|
|
Karsten Hopp |
81c285 |
! lines_left = Rows; /* avoid more prompt */
|
|
Karsten Hopp |
81c285 |
! /* don't delay for 'smd' in normal_cmd() */
|
|
Karsten Hopp |
81c285 |
! msg_scroll = msg_scroll_save;
|
|
Karsten Hopp |
81c285 |
}
|
|
Karsten Hopp |
81c285 |
|
|
Karsten Hopp |
81c285 |
if (selected > 0 && selected <= sug.su_ga.ga_len && u_save_cursor() == OK)
|
|
Karsten Hopp |
81c285 |
***************
|
|
Karsten Hopp |
81c285 |
*** 10441,10447 ****
|
|
Karsten Hopp |
81c285 |
}
|
|
Karsten Hopp |
81c285 |
|
|
Karsten Hopp |
81c285 |
/* Replace the word. */
|
|
Karsten Hopp |
81c285 |
! p = alloc((unsigned)STRLEN(line) - stp->st_orglen + stp->st_wordlen + 1);
|
|
Karsten Hopp |
81c285 |
if (p != NULL)
|
|
Karsten Hopp |
81c285 |
{
|
|
Karsten Hopp |
81c285 |
c = (int)(sug.su_badptr - line);
|
|
Karsten Hopp |
81c285 |
--- 10444,10451 ----
|
|
Karsten Hopp |
81c285 |
}
|
|
Karsten Hopp |
81c285 |
|
|
Karsten Hopp |
81c285 |
/* Replace the word. */
|
|
Karsten Hopp |
81c285 |
! p = alloc((unsigned)STRLEN(line) - stp->st_orglen
|
|
Karsten Hopp |
81c285 |
! + stp->st_wordlen + 1);
|
|
Karsten Hopp |
81c285 |
if (p != NULL)
|
|
Karsten Hopp |
81c285 |
{
|
|
Karsten Hopp |
81c285 |
c = (int)(sug.su_badptr - line);
|
|
Karsten Hopp |
81c285 |
*** ../vim-7.2.234/src/version.c 2009-07-14 21:40:30.000000000 +0200
|
|
Karsten Hopp |
81c285 |
--- src/version.c 2009-07-22 11:00:34.000000000 +0200
|
|
Karsten Hopp |
81c285 |
***************
|
|
Karsten Hopp |
81c285 |
*** 678,679 ****
|
|
Karsten Hopp |
81c285 |
--- 678,681 ----
|
|
Karsten Hopp |
81c285 |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
81c285 |
+ /**/
|
|
Karsten Hopp |
81c285 |
+ 235,
|
|
Karsten Hopp |
81c285 |
/**/
|
|
Karsten Hopp |
81c285 |
|
|
Karsten Hopp |
81c285 |
--
|
|
Karsten Hopp |
81c285 |
From "know your smileys":
|
|
Karsten Hopp |
81c285 |
|-( Contact lenses, but has lost them
|
|
Karsten Hopp |
81c285 |
|
|
Karsten Hopp |
81c285 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
81c285 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
81c285 |
\\\ download, build and distribute -- http://www.A-A-P.org ///
|
|
Karsten Hopp |
81c285 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|