Home
last modified time | relevance | path

Searched refs:cmod_flags (Results 1 – 25 of 34) sorted by relevance

12

/vim-8.2.3635/src/
H A Dex_cmds.c754 if ((cmdmod.cmod_flags & CMOD_LOCKMARKS) == 0) in do_move()
769 if ((cmdmod.cmod_flags & CMOD_LOCKMARKS) == 0) in do_move()
775 if ((cmdmod.cmod_flags & CMOD_LOCKMARKS) == 0) in do_move()
1072 int save_cmod_flags = cmdmod.cmod_flags; in do_filter()
1082 cmdmod.cmod_flags &= ~CMOD_LOCKMARKS; in do_filter()
1251 if ((cmdmod.cmod_flags & CMOD_KEEPMARKS) in do_filter()
1328 cmdmod.cmod_flags = save_cmod_flags; in do_filter()
1334 else if (cmdmod.cmod_flags & CMOD_LOCKMARKS) in do_filter()
4748 if ((cmdmod.cmod_flags & CMOD_LOCKMARKS) == 0) in ex_substitute()
5420 if (cmdmod.cmod_flags & CMOD_BROWSE) in ex_oldfiles()
[all …]
H A Dex_docmd.c2870 cmod->cmod_flags |= CMOD_BROWSE; in parse_command_modifiers()
2882 cmod->cmod_flags |= CMOD_CONFIRM; in parse_command_modifiers()
2903 cmod->cmod_flags |= CMOD_KEEPJUMPS; in parse_command_modifiers()
2954 cmod->cmod_flags |= CMOD_HIDE; in parse_command_modifiers()
2970 cmod->cmod_flags |= CMOD_LEGACY; in parse_command_modifiers()
2986 cmod->cmod_flags |= CMOD_NOSWAPFILE; in parse_command_modifiers()
3001 cmod->cmod_flags |= CMOD_SILENT; in parse_command_modifiers()
3039 cmod->cmod_flags |= CMOD_UNSILENT; in parse_command_modifiers()
3080 || (cmod->cmod_flags in has_cmdmod()
3129 if (cmod->cmod_flags & CMOD_SILENT) in apply_cmdmod()
[all …]
H A Dex_cmds2.c89 if ((p_confirm || (cmdmod.cmod_flags & CMOD_CONFIRM)) && p_write) in check_changed()
99 || (cmdmod.cmod_flags & CMOD_BROWSE) in check_changed()
200 || (cmdmod.cmod_flags & CMOD_BROWSE) in dialog_changed()
350 if (!(p_confirm || (cmdmod.cmod_flags & CMOD_CONFIRM))) in check_changed_any()
H A Dvim9script.c31 || (cmdmod.cmod_flags & CMOD_VIM9CMD)) in in_vim9script()
32 && !(cmdmod.cmod_flags & CMOD_LEGACY); in in_vim9script()
44 && !(cmdmod.cmod_flags & CMOD_VIM9CMD)) in in_old_script()
45 || (cmdmod.cmod_flags & CMOD_LEGACY); in in_old_script()
H A Dmark.c145 if (global_busy || listcmd_busy || (cmdmod.cmod_flags & CMOD_KEEPJUMPS)) in setpcmark()
1048 if ((cmdmod.cmod_flags & CMOD_LOCKMARKS) == 0) in mark_adjust_internal()
1113 if ((cmdmod.cmod_flags & CMOD_LOCKMARKS) == 0) in mark_adjust_internal()
1123 if ((cmdmod.cmod_flags & CMOD_LOCKMARKS) == 0) in mark_adjust_internal()
1230 || (cmdmod.cmod_flags & CMOD_LOCKMARKS)) in mark_col_adjust()
H A Ddiff.c810 save_cmod_flags = cmdmod.cmod_flags; in diff_write()
813 cmdmod.cmod_flags |= CMOD_LOCKMARKS; in diff_write()
817 cmdmod.cmod_flags = save_cmod_flags; in diff_write()
1216 int save_cmod_flags = cmdmod.cmod_flags; in ex_diffpatch()
1222 if (cmdmod.cmod_flags & CMOD_BROWSE) in ex_diffpatch()
1230 cmdmod.cmod_flags &= ~CMOD_BROWSE; // don't let do_ecmd() browse again in ex_diffpatch()
1384 cmdmod.cmod_flags = save_cmod_flags; in ex_diffpatch()
H A Dops.c209 if ((cmdmod.cmod_flags & CMOD_LOCKMARKS) == 0) in op_shift()
954 if ((cmdmod.cmod_flags & CMOD_LOCKMARKS) == 0) in op_delete()
1227 if ((cmdmod.cmod_flags & CMOD_LOCKMARKS) == 0) in op_replace()
1340 if ((cmdmod.cmod_flags & CMOD_LOCKMARKS) == 0) in op_tilde()
1987 if (t == 0 && setmark && (cmdmod.cmod_flags & CMOD_LOCKMARKS) == 0) in do_join()
2133 if (setmark && (cmdmod.cmod_flags & CMOD_LOCKMARKS) == 0) in do_join()
2451 if (change_cnt > 0 && (cmdmod.cmod_flags & CMOD_LOCKMARKS) == 0) in op_addsub()
2898 if (did_change && (cmdmod.cmod_flags & CMOD_LOCKMARKS) == 0) in do_addsub()
3377 if (cmdmod.cmod_flags & CMOD_LOCKMARKS) in op_function()
H A Dusercmd.c1410 if (cmod->cmod_flags & mod_entries[i].flag) in produce_cmdmods()
1414 if (cmod->cmod_flags & CMOD_SILENT) in produce_cmdmods()
1416 (cmod->cmod_flags & CMOD_ERRSILENT) ? "silent!" in produce_cmdmods()
H A Dtextformat.c822 if ((cmdmod.cmod_flags & CMOD_LOCKMARKS) == 0) in op_format()
842 if ((cmdmod.cmod_flags & CMOD_LOCKMARKS) == 0) in op_format()
H A Dhelp.c167 if ((cmdmod.cmod_flags & CMOD_KEEPALT) == 0) in ex_help()
197 && (cmdmod.cmod_flags & CMOD_KEEPALT) == 0) in ex_help()
H A Dvim9compile.c5679 int save_flags = cmdmod.cmod_flags; in compile_return()
5685 cmdmod.cmod_flags |= CMOD_LEGACY; in compile_return()
5687 cmdmod.cmod_flags = save_flags; in compile_return()
9562 int save_cmod_flags = cmdmod.cmod_flags; in compile_def_function()
9621 cmdmod.cmod_flags &= ~CMOD_LEGACY; in compile_def_function()
9831 if (!(local_cmdmod.cmod_flags & CMOD_LEGACY)) in compile_def_function()
9862 if (!(local_cmdmod.cmod_flags & CMOD_LEGACY) in compile_def_function()
9888 starts_with_colon || (local_cmdmod.cmod_flags & CMOD_LEGACY) in compile_def_function()
9899 if (local_cmdmod.cmod_flags & CMOD_LEGACY) in compile_def_function()
9989 local_cmdmod.cmod_flags & CMOD_LEGACY, &cctx); in compile_def_function()
[all …]
H A Dbuffer.c1354 if ((p_confirm || (cmdmod.cmod_flags & CMOD_CONFIRM)) && p_write) in do_buffer_ext()
1536 if ((p_confirm || (cmdmod.cmod_flags & CMOD_CONFIRM)) && p_write) in do_buffer_ext()
1715 if ((cmdmod.cmod_flags & CMOD_KEEPALT) == 0) in set_curbuf()
3487 if (buf != NULL && (cmdmod.cmod_flags & CMOD_KEEPALT) == 0) in setaltfname()
5692 return (p_hid || (cmdmod.cmod_flags & CMOD_HIDE)); in buf_hide()
H A Dcmdhist.c307 if ((cmdmod.cmod_flags & CMOD_KEEPPATTERNS) && histype == HIST_SEARCH) in add_to_history()
H A Dbufwrite.c890 if (buf != NULL && (cmdmod.cmod_flags & CMOD_LOCKMARKS)) in buf_write()
974 if (cmdmod.cmod_flags & CMOD_LOCKMARKS) in buf_write()
H A Dfilepath.c2354 int save_cmod_flags = cmdmod.cmod_flags; in do_browse()
2358 cmdmod.cmod_flags &= ~CMOD_BROWSE; in do_browse()
2491 cmdmod.cmod_flags = save_cmod_flags; in do_browse()
H A Dregister.c1381 if ((cmdmod.cmod_flags & CMOD_LOCKMARKS) == 0) in op_yank()
2253 if (cmdmod.cmod_flags & CMOD_LOCKMARKS) in do_put()
H A Dsession.c1187 if (cmdmod.cmod_flags & CMOD_BROWSE) in ex_mkrc()
H A Dmemline.c295 if (cmdmod.cmod_flags & CMOD_NOSWAPFILE) in ml_open()
653 if (p_uc != 0 && (cmdmod.cmod_flags & CMOD_NOSWAPFILE) == 0) in ml_setname()
766 || (cmdmod.cmod_flags & CMOD_NOSWAPFILE)) in ml_open_file()
H A Dos_unix.c7934 save_cmod_flags = cmdmod.cmod_flags; in xsmp_handle_interaction()
7935 cmdmod.cmod_flags |= CMOD_CONFIRM; in xsmp_handle_interaction()
7939 cmdmod.cmod_flags = save_cmod_flags; in xsmp_handle_interaction()
H A Dindent.c1094 if ((cmdmod.cmod_flags & CMOD_LOCKMARKS) == 0) in op_reindent()
H A Dvim9execute.c1783 int save_flags = cmdmod.cmod_flags; in exec_instructions()
1789 cmdmod.cmod_flags |= CMOD_LEGACY; in exec_instructions()
1791 cmdmod.cmod_flags = save_flags; in exec_instructions()
H A Dsearch.c176 && (cmdmod.cmod_flags & CMOD_KEEPPATTERNS) == 0) in search_regcomp()
1662 if ((options & SEARCH_KEEP) || (cmdmod.cmod_flags & CMOD_KEEPPATTERNS)) in do_search()
H A Dgui.c872 cmdmod.cmod_flags |= CMOD_BROWSE; in gui_shell_closed()
875 cmdmod.cmod_flags |= CMOD_CONFIRM; in gui_shell_closed()
H A Dchange.c492 if ((cmdmod.cmod_flags & CMOD_KEEPJUMPS) == 0) in changed_common()
H A Dscriptfile.c982 if (cmdmod.cmod_flags & CMOD_BROWSE) in ex_source()

12