Mercurial > vim
comparison src/mark.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 | 6b26e044b6f5 |
children | d4ffc3dc9fb0 |
comparison
equal
deleted
inserted
replaced
11157:35a1705f4d02 | 11158:501f46f7644c |
---|---|
792 name = mark_line(p, 15); | 792 name = mark_line(p, 15); |
793 mustfree = TRUE; | 793 mustfree = TRUE; |
794 } | 794 } |
795 if (name != NULL) | 795 if (name != NULL) |
796 { | 796 { |
797 msg_outtrans_attr(name, current ? hl_attr(HLF_D) : 0); | 797 msg_outtrans_attr(name, current ? HL_ATTR(HLF_D) : 0); |
798 if (mustfree) | 798 if (mustfree) |
799 vim_free(name); | 799 vim_free(name); |
800 } | 800 } |
801 } | 801 } |
802 out_flush(); /* show one line at a time */ | 802 out_flush(); /* show one line at a time */ |
924 curwin->w_jumplist[i].fmark.mark.lnum, | 924 curwin->w_jumplist[i].fmark.mark.lnum, |
925 curwin->w_jumplist[i].fmark.mark.col); | 925 curwin->w_jumplist[i].fmark.mark.col); |
926 msg_outtrans(IObuff); | 926 msg_outtrans(IObuff); |
927 msg_outtrans_attr(name, | 927 msg_outtrans_attr(name, |
928 curwin->w_jumplist[i].fmark.fnum == curbuf->b_fnum | 928 curwin->w_jumplist[i].fmark.fnum == curbuf->b_fnum |
929 ? hl_attr(HLF_D) : 0); | 929 ? HL_ATTR(HLF_D) : 0); |
930 vim_free(name); | 930 vim_free(name); |
931 ui_breakcheck(); | 931 ui_breakcheck(); |
932 } | 932 } |
933 out_flush(); | 933 out_flush(); |
934 } | 934 } |
971 curbuf->b_changelist[i].col); | 971 curbuf->b_changelist[i].col); |
972 msg_outtrans(IObuff); | 972 msg_outtrans(IObuff); |
973 name = mark_line(&curbuf->b_changelist[i], 17); | 973 name = mark_line(&curbuf->b_changelist[i], 17); |
974 if (name == NULL) | 974 if (name == NULL) |
975 break; | 975 break; |
976 msg_outtrans_attr(name, hl_attr(HLF_D)); | 976 msg_outtrans_attr(name, HL_ATTR(HLF_D)); |
977 vim_free(name); | 977 vim_free(name); |
978 ui_breakcheck(); | 978 ui_breakcheck(); |
979 } | 979 } |
980 out_flush(); | 980 out_flush(); |
981 } | 981 } |