Lines Matching refs:w_s

172     int		use_camel_case = *wp->w_s->b_p_spo != NUL;  in spell_check()
181 if (wp->w_s->b_langp.ga_len == 0) in spell_check()
227 if (capcol != NULL && *capcol == 0 && wp->w_s->b_cap_prog != NULL) in spell_check()
269 for (lpi = 0; lpi < wp->w_s->b_langp.ga_len; ++lpi) in spell_check()
271 mi.mi_lp = LANGP_ENTRY(wp->w_s->b_langp, lpi); in spell_check()
319 if (capcol != NULL && wp->w_s->b_cap_prog != NULL) in spell_check()
325 regmatch.regprog = wp->w_s->b_cap_prog; in spell_check()
328 wp->w_s->b_cap_prog = regmatch.regprog; in spell_check()
342 && LANGP_ENTRY(wp->w_s->b_langp, 0)->lp_slang->sl_nobreak) in spell_check()
349 mi.mi_lp = LANGP_ENTRY(wp->w_s->b_langp, 0); in spell_check()
800 for (lpi = 0; lpi < mip->mi_win->w_s->b_langp.ga_len; ++lpi) in find_word()
804 mip->mi_lp = LANGP_ENTRY(mip->mi_win->w_s->b_langp, lpi); in find_word()
1246 if (!wp->w_p_spell || *wp->w_s->b_p_spl == NUL in no_spell_checking()
1247 || wp->w_s->b_langp.ga_len == 0) in no_spell_checking()
2012 spl_copy = vim_strsave(wp->w_s->b_p_spl); in did_set_spelllang()
2016 wp->w_s->b_cjk = 0; in did_set_spelllang()
2031 wp->w_s->b_cjk = 1; in did_set_spelllang()
2157 spf = curwin->w_s->b_p_spf; in did_set_spelllang()
2238 ga_clear(&wp->w_s->b_langp); in did_set_spelllang()
2239 wp->w_s->b_langp = ga; in did_set_spelllang()
2298 CLEAR_FIELD(wp->w_s->b_spell_ismw); in clear_midword()
2299 VIM_CLEAR(wp->w_s->b_spell_ismw_mb); in clear_midword()
2323 wp->w_s->b_spell_ismw[c] = TRUE; in use_midword()
2324 else if (wp->w_s->b_spell_ismw_mb == NULL) in use_midword()
2326 wp->w_s->b_spell_ismw_mb = vim_strnsave(p, l); in use_midword()
2330 n = (int)STRLEN(wp->w_s->b_spell_ismw_mb); in use_midword()
2331 bp = vim_strnsave(wp->w_s->b_spell_ismw_mb, n + l); in use_midword()
2334 vim_free(wp->w_s->b_spell_ismw_mb); in use_midword()
2335 wp->w_s->b_spell_ismw_mb = bp; in use_midword()
2342 wp->w_s->b_spell_ismw[*p++] = TRUE; in use_midword()
2484 if (*wp->w_s->b_p_spl != NUL) in spell_reload()
2650 if (wp->w_s->b_spell_ismw[*p]) in spell_iswordp()
2656 if (c < 256 ? wp->w_s->b_spell_ismw[c] in spell_iswordp()
2657 : (wp->w_s->b_spell_ismw_mb != NULL in spell_iswordp()
2658 && vim_strchr(wp->w_s->b_spell_ismw_mb, c) != NULL)) in spell_iswordp()
2668 return spelltab.st_isw[wp->w_s->b_spell_ismw[*p] ? p[1] : p[0]]; in spell_iswordp()
2699 if (wp->w_s->b_cjk) in spell_mb_isword_class()
2714 if (*p < 256 ? wp->w_s->b_spell_ismw[*p] in spell_iswordp_w()
2715 : (wp->w_s->b_spell_ismw_mb != NULL in spell_iswordp_w()
2716 && vim_strchr(wp->w_s->b_spell_ismw_mb, *p) != NULL)) in spell_iswordp_w()
2813 if (curwin->w_s->b_cap_prog == NULL) in check_need_cap()
2844 regmatch.regprog = curwin->w_s->b_cap_prog; in check_need_cap()
2859 curwin->w_s->b_cap_prog = regmatch.regprog; in check_need_cap()
3066 if (curwin->w_p_spell && *curwin->w_s->b_p_spl != NUL) in eval_soundfold()
3068 for (lpi = 0; lpi < curwin->w_s->b_langp.ga_len; ++lpi) in eval_soundfold()
3070 lp = LANGP_ENTRY(curwin->w_s->b_langp, lpi); in eval_soundfold()
3800 for (lpi = 0; lpi < curwin->w_s->b_langp.ga_len && !got_int; ++lpi) in ex_spellinfo()
3802 lp = LANGP_ENTRY(curwin->w_s->b_langp, lpi); in ex_spellinfo()
3906 for (lpi = 0; lpi < curwin->w_s->b_langp.ga_len; ++lpi) in spell_dump_compl()
3908 lp = LANGP_ENTRY(curwin->w_s->b_langp, lpi); in spell_dump_compl()
3936 for (lpi = 0; lpi < curwin->w_s->b_langp.ga_len; ++lpi) in spell_dump_compl()
3938 lp = LANGP_ENTRY(curwin->w_s->b_langp, lpi); in spell_dump_compl()
4378 l = (int)STRLEN(curwin->w_s->b_p_spf); in did_set_spell_option()
4380 || STRCMP(curwin->w_s->b_p_spf + l - 4, ".add") != 0)) in did_set_spell_option()