Mirror of the Vim source from https://github.com/vim/vim
Revision | 29bf49bad20d3b1ad35af5cf21d91c4aa486d4a5 (tree) |
---|---|
Zeit | 2006-08-29 23:30:35 |
Autor | vimboss |
Commiter | vimboss |
updated for version 7.0-068
@@ -2405,7 +2405,7 @@ | ||
2405 | 2405 | /* compl_pattern doesn't need to be set */ |
2406 | 2406 | compl_orig_text = vim_strnsave(ml_get_curline() + compl_col, compl_length); |
2407 | 2407 | if (compl_orig_text == NULL || ins_compl_add(compl_orig_text, |
2408 | - -1, FALSE, NULL, NULL, 0, ORIGINAL_TEXT, FALSE) != OK) | |
2408 | + -1, p_ic, NULL, NULL, 0, ORIGINAL_TEXT, FALSE) != OK) | |
2409 | 2409 | return; |
2410 | 2410 | |
2411 | 2411 | /* Handle like dictionary completion. */ |
@@ -2821,7 +2821,7 @@ | ||
2821 | 2821 | ptr = find_word_end(ptr); |
2822 | 2822 | add_r = ins_compl_add_infercase(regmatch->startp[0], |
2823 | 2823 | (int)(ptr - regmatch->startp[0]), |
2824 | - FALSE, files[i], *dir, 0); | |
2824 | + p_ic, files[i], *dir, 0); | |
2825 | 2825 | if (thesaurus) |
2826 | 2826 | { |
2827 | 2827 | char_u *wstart; |
@@ -2857,7 +2857,7 @@ | ||
2857 | 2857 | ptr = find_word_end(ptr); |
2858 | 2858 | add_r = ins_compl_add_infercase(wstart, |
2859 | 2859 | (int)(ptr - wstart), |
2860 | - FALSE, files[i], *dir, 0); | |
2860 | + p_ic, files[i], *dir, 0); | |
2861 | 2861 | } |
2862 | 2862 | } |
2863 | 2863 | if (add_r == OK) |
@@ -3826,7 +3826,7 @@ | ||
3826 | 3826 | TAG_INS_COMP | (ctrl_x_mode ? TAG_VERBOSE : 0), |
3827 | 3827 | TAG_MANY, curbuf->b_ffname) == OK && num_matches > 0) |
3828 | 3828 | { |
3829 | - ins_compl_add_matches(num_matches, matches, FALSE); | |
3829 | + ins_compl_add_matches(num_matches, matches, p_ic); | |
3830 | 3830 | } |
3831 | 3831 | p_ic = save_p_ic; |
3832 | 3832 | break; |
@@ -3867,7 +3867,7 @@ | ||
3867 | 3867 | num_matches = expand_spelling(first_match_pos.lnum, |
3868 | 3868 | first_match_pos.col, compl_pattern, &matches); |
3869 | 3869 | if (num_matches > 0) |
3870 | - ins_compl_add_matches(num_matches, matches, FALSE); | |
3870 | + ins_compl_add_matches(num_matches, matches, p_ic); | |
3871 | 3871 | #endif |
3872 | 3872 | break; |
3873 | 3873 |
@@ -4001,7 +4001,7 @@ | ||
4001 | 4001 | continue; |
4002 | 4002 | } |
4003 | 4003 | } |
4004 | - if (ins_compl_add_infercase(ptr, len, FALSE, | |
4004 | + if (ins_compl_add_infercase(ptr, len, p_ic, | |
4005 | 4005 | ins_buf == curbuf ? NULL : ins_buf->b_sfname, |
4006 | 4006 | 0, flags) != NOTDONE) |
4007 | 4007 | { |
@@ -4809,7 +4809,7 @@ | ||
4809 | 4809 | vim_free(compl_orig_text); |
4810 | 4810 | compl_orig_text = vim_strnsave(line + compl_col, compl_length); |
4811 | 4811 | if (compl_orig_text == NULL || ins_compl_add(compl_orig_text, |
4812 | - -1, FALSE, NULL, NULL, 0, ORIGINAL_TEXT, FALSE) != OK) | |
4812 | + -1, p_ic, NULL, NULL, 0, ORIGINAL_TEXT, FALSE) != OK) | |
4813 | 4813 | { |
4814 | 4814 | vim_free(compl_pattern); |
4815 | 4815 | compl_pattern = NULL; |
@@ -4871,7 +4871,7 @@ | ||
4871 | 4871 | goto exit_matched; |
4872 | 4872 | } |
4873 | 4873 | |
4874 | - add_r = ins_compl_add_infercase(aux, i, FALSE, | |
4874 | + add_r = ins_compl_add_infercase(aux, i, p_ic, | |
4875 | 4875 | curr_fname == curbuf->b_fname ? NULL : curr_fname, |
4876 | 4876 | dir, reuse); |
4877 | 4877 | if (add_r == OK) |
@@ -15658,7 +15658,7 @@ | ||
15658 | 15658 | ? MB_STRNICMP(p, pat, STRLEN(pat)) == 0 |
15659 | 15659 | : STRNCMP(p, pat, STRLEN(pat)) == 0) |
15660 | 15660 | && ins_compl_add_infercase(p, (int)STRLEN(p), |
15661 | - FALSE, NULL, *dir, 0) == OK) | |
15661 | + p_ic, NULL, *dir, 0) == OK) | |
15662 | 15662 | /* if dir was BACKWARD then honor it just once */ |
15663 | 15663 | *dir = FORWARD; |
15664 | 15664 | } |
@@ -667,6 +667,8 @@ | ||
667 | 667 | static int included_patches[] = |
668 | 668 | { /* Add new patch number below this line */ |
669 | 669 | /**/ |
670 | + 68, | |
671 | +/**/ | |
670 | 672 | 67, |
671 | 673 | /**/ |
672 | 674 | 66, |