Mercurial > vim
view src/libvterm/t/10state_putglyph.test @ 15470:55ccc2d353bd v8.1.0743
patch 8.1.0743: giving error messages is not flexible
commit https://github.com/vim/vim/commit/f9e3e09fdc93be9f0d47afbc6c7df1188c2a5a0d
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Jan 13 23:38:42 2019 +0100
patch 8.1.0743: giving error messages is not flexible
Problem: Giving error messages is not flexible.
Solution: Add semsg(). Change argument from "char_u *" to "char *", also
for msg() and get rid of most MSG macros. (Ozaki Kiichi, closes
#3302) Also make emsg() accept a "char *" argument. Get rid of
an enormous number of type casts.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 13 Jan 2019 23:45:08 +0100 |
parents | 9f857e6310b6 |
children | 89fade12827d |
line wrap: on
line source
INIT UTF8 1 WANTSTATE g !Low RESET PUSH "ABC" putglyph 0x41 1 0,0 putglyph 0x42 1 0,1 putglyph 0x43 1 0,2 !UTF-8 1 char # U+00C1 = 0xC3 0x81 name: LATIN CAPITAL LETTER A WITH ACUTE # U+00E9 = 0xC3 0xA9 name: LATIN SMALL LETTER E WITH ACUTE RESET PUSH "\xC3\x81\xC3\xA9" putglyph 0xc1 1 0,0 putglyph 0xe9 1 0,1 !UTF-8 split writes RESET PUSH "\xC3" PUSH "\x81" putglyph 0xc1 1 0,0 !UTF-8 wide char # U+FF10 = 0xEF 0xBC 0x90 name: FULLWIDTH DIGIT ZERO RESET PUSH "\xEF\xBC\x90 " putglyph 0xff10 2 0,0 putglyph 0x20 1 0,2 !UTF-8 combining chars # U+0301 = 0xCC 0x81 name: COMBINING ACUTE RESET PUSH "e\xCC\x81Z" putglyph 0x65,0x301 1 0,0 putglyph 0x5a 1 0,1 !Combining across buffers RESET PUSH "e" putglyph 0x65 1 0,0 PUSH "\xCC\x81Z" putglyph 0x65,0x301 1 0,0 putglyph 0x5a 1 0,1 RESET PUSH "e" putglyph 0x65 1 0,0 PUSH "\xCC\x81" putglyph 0x65,0x301 1 0,0 PUSH "\xCC\x82" putglyph 0x65,0x301,0x302 1 0,0 !DECSCA protected RESET PUSH "A\e[1\"qB\e[2\"qC" putglyph 0x41 1 0,0 putglyph 0x42 1 0,1 prot putglyph 0x43 1 0,2