0
0
mirror of https://github.com/vim/vim.git synced 2025-09-15 23:23:38 -04:00

updated for version 7.0088

This commit is contained in:
Bram Moolenaar 2005-06-19 22:48:47 +00:00
parent 92124a33fd
commit 1d73c88503
4 changed files with 714 additions and 199 deletions

Binary file not shown.

View File

@ -1644,19 +1644,6 @@ msg_puts_title(s)
msg_puts_attr(s, hl_attr(HLF_T));
}
#if defined(FEAT_CSCOPE) || defined(PROTO)
/*
* if printing a string will exceed the screen width, print "..." in the
* middle.
*/
void
msg_puts_long(longstr)
char_u *longstr;
{
msg_puts_long_len_attr(longstr, (int)strlen((char *)longstr), 0);
}
#endif
/*
* Show a message in such a way that it always fits in the line. Cut out a
* part in the middle and replace it with "..." when necessary.

File diff suppressed because it is too large Load Diff

View File

@ -1331,7 +1331,7 @@ enum hlf_value
#define MSG_PUTS(s) msg_puts((char_u *)(s))
#define MSG_PUTS_ATTR(s, a) msg_puts_attr((char_u *)(s), (a))
#define MSG_PUTS_TITLE(s) msg_puts_title((char_u *)(s))
#define MSG_PUTS_LONG(s) msg_puts_long((char_u *)(s))
#define MSG_PUTS_LONG(s) msg_puts_long_attr((char_u *)(s), 0)
#define MSG_PUTS_LONG_ATTR(s, a) msg_puts_long_attr((char_u *)(s), (a))
/* Prefer using emsg3(), because perror() may send the output to the wrong