To: vim-dev@vim.org Subject: Patch 6.0.270 Fcc: outbox From: Bram Moolenaar MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit ------------ Patch 6.0.270 (depends on patch 6.0.267) Problem: A tab causes UTF-8 text to be displayed in the wrong position. (Ron Aaron) Solution: Correct utf_char2cells() again. Files: src/mbyte.c *** ../vim60.269/src/mbyte.c Fri Feb 22 20:51:21 2002 --- src/mbyte.c Fri Feb 22 22:13:52 2002 *************** *** 940,946 **** } /* Characters below 0x100 are influenced by 'isprint' option */ ! else if (!vim_isprintc(c)) return 4; /* unprintable, displays */ return 1; --- 940,946 ---- } /* Characters below 0x100 are influenced by 'isprint' option */ ! else if (c >= 0x80 && !vim_isprintc(c)) return 4; /* unprintable, displays */ return 1; *** ../vim60.269/src/version.c Fri Feb 22 21:01:56 2002 --- src/version.c Sun Feb 24 15:39:14 2002 *************** *** 608,609 **** --- 608,611 ---- { /* Add new patch number below this line */ + /**/ + 270, /**/ -- hundred-and-one symptoms of being an internet addict: 23. You can't call your mother...she doesn't have a modem. /// Bram Moolenaar -- Bram@moolenaar.net -- http://www.moolenaar.net \\\ /// Creator of Vim -- http://vim.sf.net -- ftp://ftp.vim.org/pub/vim \\\ \\\ Project leader for A-A-P -- http://www.a-a-p.org /// \\\ Help me helping AIDS orphans in Uganda - http://iccf-holland.org ///