]> granicus.if.org Git - vim/commitdiff
updated for version 7.0-068 v7.0.068
authorBram Moolenaar <Bram@vim.org>
Tue, 29 Aug 2006 14:30:35 +0000 (14:30 +0000)
committerBram Moolenaar <Bram@vim.org>
Tue, 29 Aug 2006 14:30:35 +0000 (14:30 +0000)
src/edit.c
src/search.c
src/spell.c
src/version.c

index 9caca851b0ab042103e0e04134cf27eaaca4296f..a3d4a9af19a588f2cd6dee0bd666a28937c5fd77 100644 (file)
@@ -2405,7 +2405,7 @@ set_completion(startcol, list)
     /* compl_pattern doesn't need to be set */
     compl_orig_text = vim_strnsave(ml_get_curline() + compl_col, compl_length);
     if (compl_orig_text == NULL || ins_compl_add(compl_orig_text,
-                       -1, FALSE, NULL, NULL, 0, ORIGINAL_TEXT, FALSE) != OK)
+                       -1, p_ic, NULL, NULL, 0, ORIGINAL_TEXT, FALSE) != OK)
        return;
 
     /* Handle like dictionary completion. */
@@ -2821,7 +2821,7 @@ ins_compl_files(count, files, thesaurus, flags, regmatch, buf, dir)
                        ptr = find_word_end(ptr);
                    add_r = ins_compl_add_infercase(regmatch->startp[0],
                                          (int)(ptr - regmatch->startp[0]),
-                                                    FALSE, files[i], *dir, 0);
+                                                    p_ic, files[i], *dir, 0);
                    if (thesaurus)
                    {
                        char_u *wstart;
@@ -2857,7 +2857,7 @@ ins_compl_files(count, files, thesaurus, flags, regmatch, buf, dir)
                                ptr = find_word_end(ptr);
                            add_r = ins_compl_add_infercase(wstart,
                                    (int)(ptr - wstart),
-                                   FALSE, files[i], *dir, 0);
+                                   p_ic, files[i], *dir, 0);
                        }
                    }
                    if (add_r == OK)
@@ -3826,7 +3826,7 @@ ins_compl_get_exp(ini)
                    TAG_INS_COMP | (ctrl_x_mode ? TAG_VERBOSE : 0),
                    TAG_MANY, curbuf->b_ffname) == OK && num_matches > 0)
            {
-               ins_compl_add_matches(num_matches, matches, FALSE);
+               ins_compl_add_matches(num_matches, matches, p_ic);
            }
            p_ic = save_p_ic;
            break;
@@ -3867,7 +3867,7 @@ ins_compl_get_exp(ini)
            num_matches = expand_spelling(first_match_pos.lnum,
                                 first_match_pos.col, compl_pattern, &matches);
            if (num_matches > 0)
-               ins_compl_add_matches(num_matches, matches, FALSE);
+               ins_compl_add_matches(num_matches, matches, p_ic);
 #endif
            break;
 
@@ -4001,7 +4001,7 @@ ins_compl_get_exp(ini)
                            continue;
                    }
                }
-               if (ins_compl_add_infercase(ptr, len, FALSE,
+               if (ins_compl_add_infercase(ptr, len, p_ic,
                                 ins_buf == curbuf ? NULL : ins_buf->b_sfname,
                                           0, flags) != NOTDONE)
                {
@@ -4809,7 +4809,7 @@ ins_complete(c)
        vim_free(compl_orig_text);
        compl_orig_text = vim_strnsave(line + compl_col, compl_length);
        if (compl_orig_text == NULL || ins_compl_add(compl_orig_text,
-                       -1, FALSE, NULL, NULL, 0, ORIGINAL_TEXT, FALSE) != OK)
+                       -1, p_ic, NULL, NULL, 0, ORIGINAL_TEXT, FALSE) != OK)
        {
            vim_free(compl_pattern);
            compl_pattern = NULL;
index a8a390e1f7a3ce0f500841704921a38a11d69ebd..1bbc2776849ce5a293326a58b0de7369ce6a08ec 100644 (file)
@@ -4871,7 +4871,7 @@ search_line:
                        goto exit_matched;
                }
 
-               add_r = ins_compl_add_infercase(aux, i, FALSE,
+               add_r = ins_compl_add_infercase(aux, i, p_ic,
                        curr_fname == curbuf->b_fname ? NULL : curr_fname,
                        dir, reuse);
                if (add_r == OK)
index 8b653364925af8380b02a58c1d9559775447d5ae..ad1397088582389d8de174c3cce1fe3e3021a7a7 100644 (file)
@@ -15658,7 +15658,7 @@ dump_word(slang, word, pat, dir, dumpflags, wordflags, lnum)
                    ? MB_STRNICMP(p, pat, STRLEN(pat)) == 0
                    : STRNCMP(p, pat, STRLEN(pat)) == 0)
                && ins_compl_add_infercase(p, (int)STRLEN(p),
-                                         FALSE, NULL, *dir, 0) == OK)
+                                         p_ic, NULL, *dir, 0) == OK)
        /* if dir was BACKWARD then honor it just once */
        *dir = FORWARD;
 }
index 1429289359d23bbbdbb02e5d8c4bb49bc7810c77..cfbf39d5b6f77c840a915134d229c9ae3980a28a 100644 (file)
@@ -666,6 +666,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    68,
 /**/
     67,
 /**/