Mercurial > vim
comparison src/farsi.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 | b8a79277269a |
children | e45c6e4d78af |
comparison
equal
deleted
inserted
replaced
11157:35a1705f4d02 | 11158:501f46f7644c |
---|---|
1717 do_cmdline_cmd((char_u *)"%s/\202\231/\232/ge"); | 1717 do_cmdline_cmd((char_u *)"%s/\202\231/\232/ge"); |
1718 do_cmdline_cmd((char_u *)"%s/\201\231/\370\334/ge"); | 1718 do_cmdline_cmd((char_u *)"%s/\201\231/\370\334/ge"); |
1719 | 1719 |
1720 /* Assume the screen has been messed up: clear it and redraw. */ | 1720 /* Assume the screen has been messed up: clear it and redraw. */ |
1721 redraw_later(CLEAR); | 1721 redraw_later(CLEAR); |
1722 MSG_ATTR(farsi_text_1, hl_attr(HLF_S)); | 1722 MSG_ATTR(farsi_text_1, HL_ATTR(HLF_S)); |
1723 } | 1723 } |
1724 | 1724 |
1725 /* | 1725 /* |
1726 * Convert the Farsi VIM into Farsi 3342 standard. | 1726 * Convert the Farsi VIM into Farsi 3342 standard. |
1727 */ | 1727 */ |
1745 ptr[i] = toF_TyA(ptr[i]); | 1745 ptr[i] = toF_TyA(ptr[i]); |
1746 } | 1746 } |
1747 | 1747 |
1748 /* Assume the screen has been messed up: clear it and redraw. */ | 1748 /* Assume the screen has been messed up: clear it and redraw. */ |
1749 redraw_later(CLEAR); | 1749 redraw_later(CLEAR); |
1750 MSG_ATTR(farsi_text_2, hl_attr(HLF_S)); | 1750 MSG_ATTR(farsi_text_2, HL_ATTR(HLF_S)); |
1751 } | 1751 } |
1752 | 1752 |
1753 /* | 1753 /* |
1754 * left-right swap the characters in buf[len]. | 1754 * left-right swap the characters in buf[len]. |
1755 */ | 1755 */ |