0
0
mirror of https://github.com/vim/vim.git synced 2025-09-24 03:44:06 -04:00

updated for version 7.3.221

Problem:    Text from the clipboard is sometimes handled as linewise, but not
            consistently.
Solution:   Assume the text is linewise when it ends in a CR or NL.
This commit is contained in:
Bram Moolenaar
2011-06-19 01:14:29 +02:00
parent 19e6094378
commit d44347f1e7
8 changed files with 22 additions and 18 deletions

View File

@@ -1609,7 +1609,7 @@ add_to_input_buf_csi(char_u *str, int len)
#if defined(FEAT_HANGULIN) || defined(PROTO)
void
push_raw_key (s, len)
push_raw_key(s, len)
char_u *s;
int len;
{
@@ -2016,7 +2016,7 @@ clip_x11_request_selection_cb(w, success, sel_atom, type, value, length,
long_u *length;
int *format;
{
int motion_type;
int motion_type = MAUTO;
long_u len;
char_u *p;
char **text_list = NULL;
@@ -2036,7 +2036,6 @@ clip_x11_request_selection_cb(w, success, sel_atom, type, value, length,
*(int *)success = FALSE;
return;
}
motion_type = MCHAR;
p = (char_u *)value;
len = *length;
if (*type == vim_atom)