comparison src/edit.c @ 26883:7f150a4936f2 v8.2.3970

patch 8.2.3970: error messages are spread out Commit: https://github.com/vim/vim/commit/74409f62790a93daf0965c71da01ff76aa0fa5a5 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Jan 1 15:58:22 2022 +0000 patch 8.2.3970: error messages are spread out Problem: Error messages are spread out. Solution: Move more errors to errors.h.
author Bram Moolenaar <Bram@vim.org>
date Sat, 01 Jan 2022 17:00:04 +0100
parents efa773bec478
children 8dbdd68627bd
comparison
equal deleted inserted replaced
26882:196f4d7e2a38 26883:7f150a4936f2
173 // caller of getcmdline() may get confused. 173 // caller of getcmdline() may get confused.
174 // Don't allow recursive insert mode when busy with completion. 174 // Don't allow recursive insert mode when busy with completion.
175 if (textwinlock != 0 || textlock != 0 175 if (textwinlock != 0 || textlock != 0
176 || ins_compl_active() || compl_busy || pum_visible()) 176 || ins_compl_active() || compl_busy || pum_visible())
177 { 177 {
178 emsg(_(e_textwinlock)); 178 emsg(_(e_not_allowed_to_change_text_or_change_window));
179 return FALSE; 179 return FALSE;
180 } 180 }
181 ins_compl_clear(); // clear stuff for CTRL-X mode 181 ins_compl_clear(); // clear stuff for CTRL-X mode
182 182
183 /* 183 /*