On 07/02/09 05:19, James Vega wrote:
> On Sat, Feb 07, 2009 at 04:48:16AM +0100, Tony Mechelynck wrote:
>> On 07/02/09 04:10, Brian Carper wrote:
>>> When you have cursorcolumn set and you go into Visual Block mode, the
>>> background highlighting for cursorcolumn overrides the background
>>> highlighting for visual mode.   This makes it difficult to see what's
>>> selected in the column containing the cursor (especially if you move
>>> the cursor up/down before moving it left/right).
>>>
>>> It seems like entering Visual mode should disable the highlighting for
>>> cursorcolumn, similarly to how it disables the highlighting for
>>> cursorline.
>>>
>>> e.g. something vaguely similar to (but probably not exactly) this:
>> I think it's a feature. In Block Visual mode, the cursor is always at
>> one corner of the block, and its row and column are included in the
>> block (or rather, the part which is along the sides of the block-visual
>> area). So there is no ambiguity in having the coc highlight overlay the
>> block visual highlight, unless maybe the block is only one column wide.
>
> Whether it's a feature or a bug, the behavior is inconsistent.  It would
> seem that either both 'cuc' and 'cul' should be enabled or neither
> should.
>

I think I remember Bram telling me some months ago that it's intentional 
and a kind of compromise. I don't remember the details out of my head 
but you might want to google the list archives.

Best regards,
Tony.
-- 
"When I die, I want a tombstone that says "GAME OVER" - Ton Richters

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

Raspunde prin e-mail lui