Lines Matching refs:NUL
214 && *get_vim_var_str(VV_CHAR) == NUL in edit()
250 if (cmdchar != NUL && restart_edit == 0) in edit()
369 && *(ptr = ml_get_curline() + curwin->w_cursor.col) != NUL) in edit()
371 if (ptr[1] == NUL) in edit()
376 if (ptr[i] == NUL) in edit()
499 cmdchar_todo = NUL; in edit()
634 && (c = ins_compl_bs()) == NUL) in edit()
662 for (p = str; *p != NUL; MB_PTR_ADV(p)) in edit()
831 if (ins_at_eol && gchar_cursor() == NUL) in edit()
899 case NUL: in edit()
903 if (stuff_inserted(NUL, 1L, (c == Ctrl_A)) == FAIL in edit()
1228 if (c == NUL) in edit()
1271 if (*curbuf->b_p_cpt == NUL in edit()
1313 if (*str != NUL && stop_arrow() != FAIL) in edit()
1316 for (p = str; *p != NUL; MB_PTR_ADV(p)) in edit()
1327 c = NUL; in edit()
1332 if (c == NUL) in edit()
1801 line[i + 1] = NUL; in truncate_spaces()
1847 if (*ml_get_cursor() == NUL || curwin->w_cursor.col == ecol) in del_char_after_col()
2014 p[len - 1] = NUL; in insert_special()
2083 && *ml_get_cursor() != NUL) in insertchar()
2096 + char2cells(c != NUL ? c : gchar_cursor()); in insertchar()
2098 if (*curbuf->b_p_fex != NUL && (flags & INSCHAR_NO_FEX) == 0 in insertchar()
2108 internal_format(textwidth, second_indent, flags, c == NUL, c); in insertchar()
2111 if (c == NUL) // only formatting was wanted in insertchar()
2163 end_comment_pending = NUL; in insertchar()
2190 && vpeekc() != NUL in insertchar()
2217 while ( (c = vpeekc()) != NUL in insertchar()
2239 buf[i] = NUL; in insertchar()
2248 if (buf[i] != NUL) in insertchar()
2260 buf[cc] = NUL; in insertchar()
2451 if (curwin->w_cursor.col > 0 && gchar_cursor() == NUL) in stop_insert()
2463 if (gchar_cursor() != NUL) in stop_insert()
2467 if (gchar_cursor() == NUL in stop_insert()
2492 if (gchar_cursor() == NUL && curwin->w_cursor.col > 0) in stop_insert()
2507 if (cc != NUL && gchar_pos(&tpos) == NUL) in stop_insert()
2561 *s++ = NUL; in set_last_insert()
2633 && !((flags & BL_FIX) && ptr[1] == NUL); ++ptr) in beginline()
2670 if (*ptr == NUL) in oneright()
2680 if (ptr[l] == NUL && (get_ve_flags() & VE_ONEMORE) == 0) in oneright()
2710 if ((*get_showbreak_value(curwin) == NUL && !curwin->w_p_bri in oneleft()
2876 char_u last = NUL; in stuff_inserted()
2886 if (c != NUL) in stuff_inserted()
2889 *esc_ptr = NUL; // remove the ESC in stuff_inserted()
2899 *last_ptr = NUL; in stuff_inserted()
2951 s[len - 1] = NUL; in get_last_insert_save()
3069 if (replace_stack[i] == NUL && off-- <= 0) in replace_join()
3417 if (regname == NUL || !valid_yank_reg(regname, FALSE)) in ins_reg()
3647 if (restart_edit == NUL && (colnr_T)temp == curwin->w_cursor.col) in ins_esc()
3661 && (restart_edit == NUL in ins_esc()
3662 || (gchar_cursor() == NUL && !VIsual_active)) in ins_esc()
3671 if (restart_edit != NUL) in ins_esc()
3720 if (reg_recording != 0 || restart_edit != NUL) in ins_esc()
3738 while (gchar_cursor() != NUL && revins_chars--) in ins_ctrl_()
3803 buf[3] = NUL; in ins_start_select()
3852 ins_at_eol = (gchar_cursor() == NUL); in ins_ctrl_o()
3887 if (did_ai && *skipwhite(ml_get_curline()) != NUL) in ins_shift()
3906 if (gchar_cursor() == NUL) // delete newline in ins_del()
4008 end_comment_pending = NUL; // After BS, don't auto-end comment in ins_bs()
4087 ptr[len - 1] = NUL; in ins_bs()
4091 if (temp == NUL && gchar_cursor() != NUL) in ins_bs()
4224 replace_push(NUL); in ins_bs()
4292 if (enc_utf8 && p_deco && cpc[0] != NUL) in ins_bs()
4300 if (revins_on && gchar_cursor() == NUL) in ins_bs()
4388 if (end == NULL && vpeekc() == NUL) in bracketed_paste()
4393 if (c == NUL || got_int || (ex_normal_busy > 0 && c == Ctrl_C)) in bracketed_paste()
4402 buf[idx] = NUL; in bracketed_paste()
4405 if (end[idx] == NUL) in bracketed_paste()
4640 if (gchar_cursor() != NUL || virtual_active()) in ins_right()
4687 || gchar_cursor() != NUL) in ins_s_right()
4920 replace_push(NUL); in ins_tab()
5122 replace_push(NUL); in ins_eol()
5206 return NUL; in ins_digraph()
5248 return NUL; in ins_digraph()
5267 return NUL; in ins_copychar()
5275 while ((colnr_T)temp < curwin->w_virtcol && *ptr != NUL) in ins_copychar()
5284 if (c == NUL) in ins_copychar()
5308 if (c != NUL) in ins_ctrl_ey()
5370 buf[(*mb_char2bytes)(c, buf)] = NUL; in do_insert_char_pre()
5374 buf[1] = NUL; in do_insert_char_pre()