On 04/05/09 15:28, Ricky wrote:
> Hi again
> I found out the reason now.
> The margin column high-light become confuse when double-byte characters.
> See attach.

Yes, as I noted earlier, the character will be fully highlighted if the 
first of its two display cells is on the highlighted column, it won't be 
highlighted at all if it's the second.

> But it's not a problem, nobody use double-byte write programs.
[...]

Hm. People might use wide characters:
- in program comments
- in program strings, e.g. in headings to be printed above columns of 
results
- in literals used by programs such as Vim, which manipulate text and 
have to worry about "wide" vs. "narrow" characters.
In this third case it would probably be possible to use Unicode 
constants (coded by means of ASCII text) but I believe that raw text 
(including CJK text) would be better in the first two cases.

Also, people certainly do sometimes use wide characters to write _text_ 
files, and may want their text lines to stay within some bounds, using 
this column highlight the way we used to listen to the bell when 
computers hadn't yet replaced typewriters.


Best regards,
Tony.
-- 
                WARNING TO ALL PERSONNEL:

Firings will continue until morale improves.

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Raspunde prin e-mail lui