]>
Commit | Line | Data |
---|---|---|
65bfde4c AG |
1 | To: vim-dev@vim.org |
2 | Subject: Patch 7.2.066 | |
3 | Fcc: outbox | |
4 | From: Bram Moolenaar <Bram@moolenaar.net> | |
5 | Mime-Version: 1.0 | |
6 | Content-Type: text/plain; charset=ISO-8859-1 | |
7 | Content-Transfer-Encoding: 8bit | |
8 | ------------ | |
9 | ||
10 | Patch 7.2.066 | |
11 | Problem: It's not easy to see whether 'encoding' is a multi-byte encoding. | |
12 | Solution: Add has('multi_byte_encoding'). | |
13 | Files: runtime/doc/eval.txt, src/eval.c | |
14 | ||
15 | ||
16 | *** ../vim-7.2.065/runtime/doc/eval.txt Fri Nov 28 11:15:10 2008 | |
17 | --- runtime/doc/eval.txt Tue Dec 9 10:55:59 2008 | |
18 | *************** | |
19 | *** 5841,5847 **** | |
20 | mouse_pterm Compiled with support for qnx pterm mouse. | |
21 | mouse_sysmouse Compiled with support for sysmouse (*BSD console mouse) | |
22 | mouse_xterm Compiled with support for xterm mouse. | |
23 | ! multi_byte Compiled with support for editing Korean et al. | |
24 | multi_byte_ime Compiled with support for IME input method. | |
25 | multi_lang Compiled with support for multiple languages. | |
26 | mzscheme Compiled with MzScheme interface |mzscheme|. | |
27 | --- 5852,5859 ---- | |
28 | mouse_pterm Compiled with support for qnx pterm mouse. | |
29 | mouse_sysmouse Compiled with support for sysmouse (*BSD console mouse) | |
30 | mouse_xterm Compiled with support for xterm mouse. | |
31 | ! multi_byte Compiled with support for 'encoding' | |
32 | ! multi_byte_encoding 'encoding' is set to a multi-byte encoding. | |
33 | multi_byte_ime Compiled with support for IME input method. | |
34 | multi_lang Compiled with support for multiple languages. | |
35 | mzscheme Compiled with MzScheme interface |mzscheme|. | |
36 | *** ../vim-7.2.065/src/eval.c Wed Dec 3 09:51:19 2008 | |
37 | --- src/eval.c Wed Dec 3 14:29:09 2008 | |
38 | *************** | |
39 | *** 11842,11847 **** | |
40 | --- 11842,11851 ---- | |
41 | n = has_patch(atoi((char *)name + 5)); | |
42 | else if (STRICMP(name, "vim_starting") == 0) | |
43 | n = (starting != 0); | |
44 | + #ifdef FEAT_MBYTE | |
45 | + else if (STRICMP(name, "multi_byte_encoding") == 0) | |
46 | + n = has_mbyte; | |
47 | + #endif | |
48 | #if defined(FEAT_BEVAL) && defined(FEAT_GUI_W32) | |
49 | else if (STRICMP(name, "balloon_multiline") == 0) | |
50 | n = multiline_balloon_available(); | |
51 | *** ../vim-7.2.065/src/version.c Wed Dec 3 18:50:09 2008 | |
52 | --- src/version.c Tue Dec 9 10:48:49 2008 | |
53 | *************** | |
54 | *** 678,679 **** | |
55 | --- 678,681 ---- | |
56 | { /* Add new patch number below this line */ | |
57 | + /**/ | |
58 | + 66, | |
59 | /**/ | |
60 | ||
61 | -- | |
62 | ARTHUR: Listen, old crone! Unless you tell us where we can buy a shrubbery, | |
63 | my friend and I will ... we will say "Ni!" | |
64 | CRONE: Do your worst! | |
65 | "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD | |
66 | ||
67 | /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ | |
68 | /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ | |
69 | \\\ download, build and distribute -- http://www.A-A-P.org /// | |
70 | \\\ help me help AIDS victims -- http://ICCF-Holland.org /// |