mirror of
https://github.com/vim/vim.git
synced 2025-10-16 07:24:23 -04:00
updated for version 7.2-235
This commit is contained in:
@@ -3276,6 +3276,7 @@ prompt_for_number(mouse_used)
|
|||||||
cmdline_row = msg_row - 1;
|
cmdline_row = msg_row - 1;
|
||||||
need_wait_return = FALSE;
|
need_wait_return = FALSE;
|
||||||
msg_didany = FALSE;
|
msg_didany = FALSE;
|
||||||
|
msg_didout = FALSE;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
cmdline_row = save_cmdline_row;
|
cmdline_row = save_cmdline_row;
|
||||||
|
@@ -10252,6 +10252,7 @@ spell_suggest(count)
|
|||||||
int limit;
|
int limit;
|
||||||
int selected = count;
|
int selected = count;
|
||||||
int badlen = 0;
|
int badlen = 0;
|
||||||
|
int msg_scroll_save = msg_scroll;
|
||||||
|
|
||||||
if (no_spell_checking(curwin))
|
if (no_spell_checking(curwin))
|
||||||
return;
|
return;
|
||||||
@@ -10417,6 +10418,8 @@ spell_suggest(count)
|
|||||||
if (mouse_used)
|
if (mouse_used)
|
||||||
selected -= lines_left;
|
selected -= lines_left;
|
||||||
lines_left = Rows; /* avoid more prompt */
|
lines_left = Rows; /* avoid more prompt */
|
||||||
|
/* don't delay for 'smd' in normal_cmd() */
|
||||||
|
msg_scroll = msg_scroll_save;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (selected > 0 && selected <= sug.su_ga.ga_len && u_save_cursor() == OK)
|
if (selected > 0 && selected <= sug.su_ga.ga_len && u_save_cursor() == OK)
|
||||||
@@ -10441,7 +10444,8 @@ spell_suggest(count)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Replace the word. */
|
/* Replace the word. */
|
||||||
p = alloc((unsigned)STRLEN(line) - stp->st_orglen + stp->st_wordlen + 1);
|
p = alloc((unsigned)STRLEN(line) - stp->st_orglen
|
||||||
|
+ stp->st_wordlen + 1);
|
||||||
if (p != NULL)
|
if (p != NULL)
|
||||||
{
|
{
|
||||||
c = (int)(sug.su_badptr - line);
|
c = (int)(sug.su_badptr - line);
|
||||||
|
@@ -676,6 +676,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
235,
|
||||||
/**/
|
/**/
|
||||||
234,
|
234,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user