]> git.pld-linux.org Git - packages/vim.git/blob - 6.3.061
- new
[packages/vim.git] / 6.3.061
1 To: vim-dev@vim.org
2 Subject: Patch 6.3.061
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 6.3.061
11 Problem:    When editing a utf-8 file in an utf-8 xterm and there is a
12             multi-byte character in the last column, displaying is messed up.
13             (Joël Rio)
14 Solution:   Check for a multi-byte character, not a multi-column character.
15 Files:      src/screen.c
16
17
18 *** ../vim-6.3.060/src/screen.c Tue Jan 18 10:53:53 2005
19 --- src/screen.c        Wed Jan 19 11:03:00 2005
20 ***************
21 *** 4169,4176 ****
22   #ifdef FEAT_MBYTE
23                     /* When there is a multi-byte character, just output a
24                      * space to keep it simple. */
25 !                   if (has_mbyte && mb_off2cells(LineOffset[screen_row - 1]
26 !                                               + (unsigned)Columns - 1) != 1)
27                         out_char(' ');
28                     else
29   #endif
30 --- 4169,4176 ----
31   #ifdef FEAT_MBYTE
32                     /* When there is a multi-byte character, just output a
33                      * space to keep it simple. */
34 !                   if (has_mbyte && MB_BYTE2LEN(ScreenLines[LineOffset[
35 !                                       screen_row - 1] + (Columns - 1)]) > 1)
36                         out_char(' ');
37                     else
38   #endif
39 *** ../vim-6.3.060/src/version.c        Sat Jan 29 16:19:09 2005
40 --- src/version.c       Sat Jan 29 16:25:13 2005
41 ***************
42 *** 643,644 ****
43 --- 643,646 ----
44   {   /* Add new patch number below this line */
45 + /**/
46 +     61,
47   /**/
48
49 -- 
50 Article in the first Free Software Magazine: "Bram Moolenaar studied electrical
51 engineering at the Technical University of Delft and graduated in 1985 on a
52 multi-processor Unix architecture."
53 Response by "dimator": Could the school not afford a proper stage for the
54 ceremony?
55
56  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
57 ///        Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
58 \\\              Project leader for A-A-P -- http://www.A-A-P.org        ///
59  \\\     Buy LOTR 3 and help AIDS victims -- http://ICCF.nl/lotr.html   ///
This page took 0.030909 seconds and 3 git commands to generate.