Home
last modified time | relevance | path

Searched refs:typebuf (Results 1 – 17 of 17) sorted by relevance

/vim-8.2.3635/src/
H A Dgetchar.c421 typebuf.tb_off += typebuf.tb_maplen; in flush_buffers()
422 typebuf.tb_len -= typebuf.tb_maplen; in flush_buffers()
2411 tb_c1 = typebuf.tb_buf[typebuf.tb_off]; in handle_mapping()
2583 gotchars(typebuf.tb_buf + typebuf.tb_off + typebuf.tb_maplen, in handle_mapping()
2659 s < typebuf.tb_buf + typebuf.tb_off + typebuf.tb_len in handle_mapping()
2753 gotchars(typebuf.tb_buf + typebuf.tb_off + typebuf.tb_maplen, in handle_mapping()
3050 c = typebuf.tb_buf[typebuf.tb_off]; in vgetorpeek()
3345 c = inchar(typebuf.tb_buf + typebuf.tb_off + typebuf.tb_len, in vgetorpeek()
3346 typebuf.tb_buflen - typebuf.tb_off - typebuf.tb_len - 1, in vgetorpeek()
3377 while (typebuf.tb_buf[typebuf.tb_off in vgetorpeek()
[all …]
H A Dclientserver.c50 if (typebuf.tb_maplen < typebuf.tb_len) in server_to_input_buf()
51 del_typebuf(typebuf.tb_len - typebuf.tb_maplen, typebuf.tb_maplen); in server_to_input_buf()
52 (void)ins_typebuf(str, REMAP_NONE, typebuf.tb_len, TRUE, FALSE); in server_to_input_buf()
H A Dui.c32 gui_wait_for_chars(p_wd, typebuf.tb_change_cnt); in ui_write()
442 int tb_change_cnt = typebuf.tb_change_cnt; in ui_wait_for_chars_or_timer()
456 if (typebuf.tb_change_cnt != tb_change_cnt) in ui_wait_for_chars_or_timer()
547 gui_wait_for_chars(msec, typebuf.tb_change_cnt); in ui_delay()
H A Dedit.c1597 char_u *p = typebuf.tb_buf + typebuf.tb_off; in decodeModifyOtherKeys()
1606 if (typebuf.tb_len >= 4 && (c == CSI || (c == ESC && *p == '['))) in decodeModifyOtherKeys()
1614 while (idx < typebuf.tb_len && argidx < 2) in decodeModifyOtherKeys()
1624 if (idx < typebuf.tb_len in decodeModifyOtherKeys()
1629 typebuf.tb_off += idx + 1; in decodeModifyOtherKeys()
1630 typebuf.tb_len -= idx + 1; in decodeModifyOtherKeys()
1632 if (typebuf.tb_len == 0) in decodeModifyOtherKeys()
H A Dterm.c4528 mch_memmove(typebuf.tb_buf + typebuf.tb_off + offset, string, in put_string_in_typebuf()
5339 if (offset >= typebuf.tb_len) in check_termcode()
5341 tp = typebuf.tb_buf + typebuf.tb_off + offset; in check_termcode()
5342 len = typebuf.tb_len - offset; // length of the input in check_termcode()
H A Dmain.c600 gui_wait_for_chars(50L, typebuf.tb_change_cnt); in vim_main2()
1053 && typebuf.tb_len == 0 in is_safe_now()
H A Dmap.c1417 if (typebuf.tb_no_abbr_cnt) // abbrev. are not recursive in check_abbr()
1579 typebuf.tb_no_abbr_cnt += (int)STRLEN(s) + j + 1; in check_abbr()
H A Dex_docmd.c507 if (ex_normal_busy > 0 && typebuf.tb_len == 0) in do_exmode()
7884 int prev_len = typebuf.tb_len; in ex_at()
7914 while (!stuff_empty() || typebuf.tb_len > prev_len) in ex_at()
8570 || ((was_typed || !typebuf_typed()) && typebuf.tb_len > 0) in exec_normal()
H A Dex_getln.c2031 && (ex_normal_busy == 0 || typebuf.tb_len > 0)) in getcmdline_int()
2856 if (ex_normal_busy > 0 && typebuf.tb_len == 0) in getexmodeline()
H A Dmisc1.c760 if (!(stuff_empty() && typebuf.tb_len == 0 && scriptin[curscript] == NULL)) in f_state()
H A Dautocmd.c1746 && typebuf.tb_len == 0 in trigger_cursorhold()
H A Dglobals.h1188 EXTERN typebuf_T typebuf // typeahead buffer variable
H A Dos_win32.c1566 int tb_change_cnt = typebuf.tb_change_cnt; in WaitForChar()
1632 if (typebuf.tb_change_cnt != tb_change_cnt) in WaitForChar()
H A Devalfunc.c3848 insert ? 0 : typebuf.tb_len, !typed, FALSE); in f_feedkeys()
/vim-8.2.3635/runtime/doc/
H A Dversion5.txt5025 closescript() has freed typebuf[] and buf[] might be pointing
5026 inside typebuf[].
H A Dversion7.txt8601 Solution: Initialize all the struct items of typebuf.
H A Dversion8.txt10905 Solution: Break the wait loop when characters have been added to typebuf.