comparison src/ex_getln.c @ 13142:59a16624400a v8.0.1445

patch 8.0.1445: cannot act on edits in the command line commit https://github.com/vim/vim/commit/153b704e20f9c269450a7d3ea8cafcf942579ab7 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Jan 31 15:48:32 2018 +0100 patch 8.0.1445: cannot act on edits in the command line Problem: Cannot act on edits in the command line. Solution: Add the CmdlineChanged autocommand event. (xtal8, closes https://github.com/vim/vim/issues/2603, closes #2524)
author Christian Brabandt <cb@256bit.org>
date Wed, 31 Jan 2018 16:00:07 +0100
parents fe7d576a3d3f
children ac42c4b11dbc
comparison
equal deleted inserted replaced
13141:8510122958cc 13142:59a16624400a
1949 if (!incsearch_postponed) 1949 if (!incsearch_postponed)
1950 continue; 1950 continue;
1951 #endif 1951 #endif
1952 1952
1953 cmdline_changed: 1953 cmdline_changed:
1954 #ifdef FEAT_AUTOCMD
1955 /* Trigger CmdlineChanged autocommands. */
1956 trigger_cmd_autocmd(cmdline_type, EVENT_CMDLINECHANGED);
1957 #endif
1958
1954 #ifdef FEAT_SEARCH_EXTRA 1959 #ifdef FEAT_SEARCH_EXTRA
1955 /* 1960 /*
1956 * 'incsearch' highlighting. 1961 * 'incsearch' highlighting.
1957 */ 1962 */
1958 if (p_is && !cmd_silent && (firstc == '/' || firstc == '?')) 1963 if (p_is && !cmd_silent && (firstc == '/' || firstc == '?'))