comparison src/edit.c @ 25306:078edc1821bf v8.2.3190

patch 8.2.3190: error messages are spread out Commit: https://github.com/vim/vim/commit/e29a27f6f8eef8f00d3c2d4cd9811d81cf3026b3 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Jul 20 21:07:36 2021 +0200 patch 8.2.3190: error messages are spread out Problem: Error messages are spread out. Solution: Move error messages to errors.h and give them a clear name.
author Bram Moolenaar <Bram@vim.org>
date Tue, 20 Jul 2021 21:15:05 +0200
parents aa55d6d17625
children 1e6da8364a02
comparison
equal deleted inserted replaced
25305:4032f1628500 25306:078edc1821bf
2872 char_u last = NUL; 2872 char_u last = NUL;
2873 2873
2874 ptr = get_last_insert(); 2874 ptr = get_last_insert();
2875 if (ptr == NULL) 2875 if (ptr == NULL)
2876 { 2876 {
2877 emsg(_(e_noinstext)); 2877 emsg(_(e_no_inserted_text_yet));
2878 return FAIL; 2878 return FAIL;
2879 } 2879 }
2880 2880
2881 // may want to stuff the command character, to start Insert mode 2881 // may want to stuff the command character, to start Insert mode
2882 if (c != NUL) 2882 if (c != NUL)