Mercurial > vim
comparison src/globals.h @ 22442:73be82f278c0 v8.2.1769
patch 8.2.1769: popup filter interferes with using :normal to move the cursor
Commit: https://github.com/vim/vim/commit/4934ad0e448bfa03ba19c7c5b411c457a9910442
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Sep 28 22:29:58 2020 +0200
patch 8.2.1769: popup filter interferes with using :normal to move the cursor
Problem: A popup filter interferes with using :normal to move the cursor in
a popup.
Solution: Do not invoke the filter when ex_normal_busy is set.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 28 Sep 2020 22:45:05 +0200 |
parents | 00f2eebe74d9 |
children | c271498e03b2 |
comparison
equal
deleted
inserted
replaced
22441:a3bb84cd0f59 | 22442:73be82f278c0 |
---|---|
1148 EXTERN typebuf_T typebuf // typeahead buffer | 1148 EXTERN typebuf_T typebuf // typeahead buffer |
1149 #ifdef DO_INIT | 1149 #ifdef DO_INIT |
1150 = {NULL, NULL, 0, 0, 0, 0, 0, 0, 0} | 1150 = {NULL, NULL, 0, 0, 0, 0, 0, 0, 0} |
1151 #endif | 1151 #endif |
1152 ; | 1152 ; |
1153 EXTERN int ex_normal_busy INIT(= 0); // recursiveness of ex_normal() | 1153 EXTERN int ex_normal_busy INIT(= 0); // recursiveness of ex_normal() |
1154 EXTERN int ex_normal_lock INIT(= 0); // forbid use of ex_normal() | 1154 EXTERN int in_feedkeys INIT(= 0); // ex_normal_busy set in feedkeys() |
1155 #ifdef FEAT_PROP_POPUP | 1155 EXTERN int ex_normal_lock INIT(= 0); // forbid use of ex_normal() |
1156 // Set to TRUE when ex_normal_busy is set and out of typeahead. | |
1157 EXTERN int ex_normal_busy_done INIT(= FALSE); | |
1158 #endif | |
1159 | 1156 |
1160 #ifdef FEAT_EVAL | 1157 #ifdef FEAT_EVAL |
1161 EXTERN int ignore_script INIT(= FALSE); // ignore script input | 1158 EXTERN int ignore_script INIT(= FALSE); // ignore script input |
1162 #endif | 1159 #endif |
1163 EXTERN int stop_insert_mode; // for ":stopinsert" and 'insertmode' | 1160 EXTERN int stop_insert_mode; // for ":stopinsert" and 'insertmode' |