|
Karsten Hopp |
782694 |
To: vim_dev@googlegroups.com
|
|
Karsten Hopp |
782694 |
Subject: Patch 7.4.722
|
|
Karsten Hopp |
782694 |
Fcc: outbox
|
|
Karsten Hopp |
782694 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
782694 |
Mime-Version: 1.0
|
|
Karsten Hopp |
782694 |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
782694 |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
782694 |
------------
|
|
Karsten Hopp |
782694 |
|
|
Karsten Hopp |
782694 |
Patch 7.4.722
|
|
Karsten Hopp |
782694 |
Problem: 0x202f is not recognized as a non-breaking space character.
|
|
Karsten Hopp |
782694 |
Solution: Add 0x202f to the list. (Christian Brabandt)
|
|
Karsten Hopp |
782694 |
Files: runtime/doc/options.txt, src/message.c, src/screen.c
|
|
Karsten Hopp |
782694 |
|
|
Karsten Hopp |
782694 |
|
|
Karsten Hopp |
782694 |
*** ../vim-7.4.721/runtime/doc/options.txt 2015-04-21 18:33:33.902675797 +0200
|
|
Karsten Hopp |
782694 |
--- runtime/doc/options.txt 2015-05-04 17:27:27.736999723 +0200
|
|
Karsten Hopp |
782694 |
***************
|
|
Karsten Hopp |
782694 |
*** 4743,4750 ****
|
|
Karsten Hopp |
782694 |
conceal:c Character to show in place of concealed text, when
|
|
Karsten Hopp |
782694 |
'conceallevel' is set to 1.
|
|
Karsten Hopp |
782694 |
*lcs-nbsp*
|
|
Karsten Hopp |
782694 |
! nbsp:c Character to show for a non-breakable space (character
|
|
Karsten Hopp |
782694 |
! 0xA0, 160). Left blank when omitted.
|
|
Karsten Hopp |
782694 |
|
|
Karsten Hopp |
782694 |
The characters ':' and ',' should not be used. UTF-8 characters can
|
|
Karsten Hopp |
782694 |
be used when 'encoding' is "utf-8", otherwise only printable
|
|
Karsten Hopp |
782694 |
--- 4746,4754 ----
|
|
Karsten Hopp |
782694 |
conceal:c Character to show in place of concealed text, when
|
|
Karsten Hopp |
782694 |
'conceallevel' is set to 1.
|
|
Karsten Hopp |
782694 |
*lcs-nbsp*
|
|
Karsten Hopp |
782694 |
! nbsp:c Character to show for a non-breakable space character
|
|
Karsten Hopp |
782694 |
! (0xA0 (160 decimal) and U+202F). Left blank when
|
|
Karsten Hopp |
782694 |
! omitted.
|
|
Karsten Hopp |
782694 |
|
|
Karsten Hopp |
782694 |
The characters ':' and ',' should not be used. UTF-8 characters can
|
|
Karsten Hopp |
782694 |
be used when 'encoding' is "utf-8", otherwise only printable
|
|
Karsten Hopp |
782694 |
*** ../vim-7.4.721/src/message.c 2015-04-22 22:18:14.659662668 +0200
|
|
Karsten Hopp |
782694 |
--- src/message.c 2015-05-04 17:24:48.462778022 +0200
|
|
Karsten Hopp |
782694 |
***************
|
|
Karsten Hopp |
782694 |
*** 1697,1703 ****
|
|
Karsten Hopp |
782694 |
else if (has_mbyte && (l = (*mb_ptr2len)(s)) > 1)
|
|
Karsten Hopp |
782694 |
{
|
|
Karsten Hopp |
782694 |
col += (*mb_ptr2cells)(s);
|
|
Karsten Hopp |
782694 |
! if (lcs_nbsp != NUL && list && mb_ptr2char(s) == 160)
|
|
Karsten Hopp |
782694 |
{
|
|
Karsten Hopp |
782694 |
mb_char2bytes(lcs_nbsp, buf);
|
|
Karsten Hopp |
782694 |
buf[(*mb_ptr2len)(buf)] = NUL;
|
|
Karsten Hopp |
782694 |
--- 1697,1705 ----
|
|
Karsten Hopp |
782694 |
else if (has_mbyte && (l = (*mb_ptr2len)(s)) > 1)
|
|
Karsten Hopp |
782694 |
{
|
|
Karsten Hopp |
782694 |
col += (*mb_ptr2cells)(s);
|
|
Karsten Hopp |
782694 |
! if (lcs_nbsp != NUL && list
|
|
Karsten Hopp |
782694 |
! && (mb_ptr2char(s) == 160
|
|
Karsten Hopp |
782694 |
! || mb_ptr2char(s) == 0x202f))
|
|
Karsten Hopp |
782694 |
{
|
|
Karsten Hopp |
782694 |
mb_char2bytes(lcs_nbsp, buf);
|
|
Karsten Hopp |
782694 |
buf[(*mb_ptr2len)(buf)] = NUL;
|
|
Karsten Hopp |
782694 |
*** ../vim-7.4.721/src/screen.c 2015-05-04 16:51:55.708920741 +0200
|
|
Karsten Hopp |
782694 |
--- src/screen.c 2015-05-04 17:01:00.854787665 +0200
|
|
Karsten Hopp |
782694 |
***************
|
|
Karsten Hopp |
782694 |
*** 4338,4344 ****
|
|
Karsten Hopp |
782694 |
if (wp->w_p_list
|
|
Karsten Hopp |
782694 |
&& (((c == 160
|
|
Karsten Hopp |
782694 |
#ifdef FEAT_MBYTE
|
|
Karsten Hopp |
782694 |
! || (mb_utf8 && mb_c == 160)
|
|
Karsten Hopp |
782694 |
#endif
|
|
Karsten Hopp |
782694 |
) && lcs_nbsp)
|
|
Karsten Hopp |
782694 |
|| (c == ' ' && lcs_space && ptr - line <= trailcol)))
|
|
Karsten Hopp |
782694 |
--- 4338,4344 ----
|
|
Karsten Hopp |
782694 |
if (wp->w_p_list
|
|
Karsten Hopp |
782694 |
&& (((c == 160
|
|
Karsten Hopp |
782694 |
#ifdef FEAT_MBYTE
|
|
Karsten Hopp |
782694 |
! || (mb_utf8 && (mb_c == 160 || mb_c == 0x202f))
|
|
Karsten Hopp |
782694 |
#endif
|
|
Karsten Hopp |
782694 |
) && lcs_nbsp)
|
|
Karsten Hopp |
782694 |
|| (c == ' ' && lcs_space && ptr - line <= trailcol)))
|
|
Karsten Hopp |
782694 |
*** ../vim-7.4.721/src/version.c 2015-05-04 16:51:55.708920741 +0200
|
|
Karsten Hopp |
782694 |
--- src/version.c 2015-05-04 17:02:26.941818964 +0200
|
|
Karsten Hopp |
782694 |
***************
|
|
Karsten Hopp |
782694 |
*** 743,744 ****
|
|
Karsten Hopp |
782694 |
--- 743,746 ----
|
|
Karsten Hopp |
782694 |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
782694 |
+ /**/
|
|
Karsten Hopp |
782694 |
+ 722,
|
|
Karsten Hopp |
782694 |
/**/
|
|
Karsten Hopp |
782694 |
|
|
Karsten Hopp |
782694 |
--
|
|
Karsten Hopp |
782694 |
I have a drinking problem -- I can't afford it.
|
|
Karsten Hopp |
782694 |
|
|
Karsten Hopp |
782694 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
782694 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
782694 |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
Karsten Hopp |
782694 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|