mirror of
https://github.com/vim/vim.git
synced 2025-07-26 11:04:33 -04:00
updated for version 7.0-223
This commit is contained in:
parent
39353fdbec
commit
7cc36e9402
@ -317,7 +317,8 @@ trans_characters(buf, bufsize)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#if defined(FEAT_EVAL) || defined(FEAT_TITLE) || defined(PROTO)
|
#if defined(FEAT_EVAL) || defined(FEAT_TITLE) || defined(FEAT_INS_EXPAND) \
|
||||||
|
|| defined(PROTO)
|
||||||
/*
|
/*
|
||||||
* Translate a string into allocated memory, replacing special chars with
|
* Translate a string into allocated memory, replacing special chars with
|
||||||
* printable chars. Returns NULL when out of memory.
|
* printable chars. Returns NULL when out of memory.
|
||||||
|
@ -280,8 +280,20 @@ pum_redraw()
|
|||||||
w = ptr2cells(p);
|
w = ptr2cells(p);
|
||||||
if (*p == NUL || *p == TAB || totwidth + w > pum_width)
|
if (*p == NUL || *p == TAB || totwidth + w > pum_width)
|
||||||
{
|
{
|
||||||
/* Display the text that fits or comes before a Tab. */
|
/* Display the text that fits or comes before a Tab.
|
||||||
screen_puts_len(s, (int)(p - s), row, col, attr);
|
* First convert it to printable characters. */
|
||||||
|
char_u *st;
|
||||||
|
int saved = *p;
|
||||||
|
|
||||||
|
*p = NUL;
|
||||||
|
st = transstr(s);
|
||||||
|
*p = saved;
|
||||||
|
if (st != NULL)
|
||||||
|
{
|
||||||
|
screen_puts_len(st, (int)STRLEN(st), row, col,
|
||||||
|
attr);
|
||||||
|
vim_free(st);
|
||||||
|
}
|
||||||
col += width;
|
col += width;
|
||||||
|
|
||||||
if (*p != TAB)
|
if (*p != TAB)
|
||||||
|
@ -666,6 +666,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 */
|
||||||
|
/**/
|
||||||
|
223,
|
||||||
/**/
|
/**/
|
||||||
222,
|
222,
|
||||||
/**/
|
/**/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user