Mercurial > vim
comparison src/misc1.c @ 11158:501f46f7644c v8.0.0466
patch 8.0.0466: still macros that should be all-caps
commit https://github.com/vim/vim/commit/8820b48654b62472821d9b155fe03ab7ac13a05c
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Mar 16 17:23:31 2017 +0100
patch 8.0.0466: still macros that should be all-caps
Problem: There are still a few macros that should be all-caps.
Solution: Make a few more macros all-caps.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Thu, 16 Mar 2017 17:30:06 +0100 |
parents | f4ea50924c6d |
children | 2334a8ae9ff6 |
comparison
equal
deleted
inserted
replaced
11157:35a1705f4d02 | 11158:501f46f7644c |
---|---|
3263 * be after the mode message. | 3263 * be after the mode message. |
3264 */ | 3264 */ |
3265 msg_start(); | 3265 msg_start(); |
3266 if (msg_row == Rows - 1) | 3266 if (msg_row == Rows - 1) |
3267 msg_col = col; | 3267 msg_col = col; |
3268 msg_source(hl_attr(HLF_W)); | 3268 msg_source(HL_ATTR(HLF_W)); |
3269 MSG_PUTS_ATTR(_(w_readonly), hl_attr(HLF_W) | MSG_HIST); | 3269 MSG_PUTS_ATTR(_(w_readonly), HL_ATTR(HLF_W) | MSG_HIST); |
3270 #ifdef FEAT_EVAL | 3270 #ifdef FEAT_EVAL |
3271 set_vim_var_string(VV_WARNINGMSG, (char_u *)_(w_readonly), -1); | 3271 set_vim_var_string(VV_WARNINGMSG, (char_u *)_(w_readonly), -1); |
3272 #endif | 3272 #endif |
3273 msg_clr_eos(); | 3273 msg_clr_eos(); |
3274 (void)msg_end(); | 3274 (void)msg_end(); |
3317 ++allow_keys; /* no mapping here, but recognize keys */ | 3317 ++allow_keys; /* no mapping here, but recognize keys */ |
3318 | 3318 |
3319 while (r != 'y' && r != 'n') | 3319 while (r != 'y' && r != 'n') |
3320 { | 3320 { |
3321 /* same highlighting as for wait_return */ | 3321 /* same highlighting as for wait_return */ |
3322 smsg_attr(hl_attr(HLF_R), (char_u *)"%s (y/n)?", str); | 3322 smsg_attr(HL_ATTR(HLF_R), (char_u *)"%s (y/n)?", str); |
3323 if (direct) | 3323 if (direct) |
3324 r = get_keystroke(); | 3324 r = get_keystroke(); |
3325 else | 3325 else |
3326 r = plain_vgetc(); | 3326 r = plain_vgetc(); |
3327 if (r == Ctrl_C || r == ESC) | 3327 if (r == Ctrl_C || r == ESC) |
3699 | 3699 |
3700 /* When 'verbose' is set and we are sourcing a script or executing a | 3700 /* When 'verbose' is set and we are sourcing a script or executing a |
3701 * function give the user a hint where the beep comes from. */ | 3701 * function give the user a hint where the beep comes from. */ |
3702 if (vim_strchr(p_debug, 'e') != NULL) | 3702 if (vim_strchr(p_debug, 'e') != NULL) |
3703 { | 3703 { |
3704 msg_source(hl_attr(HLF_W)); | 3704 msg_source(HL_ATTR(HLF_W)); |
3705 msg_attr((char_u *)_("Beep!"), hl_attr(HLF_W)); | 3705 msg_attr((char_u *)_("Beep!"), HL_ATTR(HLF_W)); |
3706 } | 3706 } |
3707 } | 3707 } |
3708 } | 3708 } |
3709 | 3709 |
3710 /* | 3710 /* |