>From Bram Moolenaar on 01/13/2009 10:15 AM: > Renato Alves wrote: > > >> I've been troubled by this issue some time ago but I didn't report it >> because I was not sure it was caused by colorscheme or other situation >> external to vim. Today other people (in IRC) confirmed the problem and >> suggested reporting it. >> >> The picture [1] represents the problem. >> The visual-block operation makes the cursor "invisible". This only >> happens on the _1st character_ of each line and when numbers are active. >> In the picture I had the same selection are in both sections, but in the >> one with numbers the cursor is not visible. If I start the visual block >> from the 3rd character and then move till the 1st all the selection is >> visible except the cursor position. This is visible with the third >> (without numbers) and fourth (with numbers) sections of the picture. >> I tried this both on urxvt and xterm and always got the same behavior. >> > > I can't reproduce this. I'm using an xterm with a custom cursor color > though. > > What terminal are you using? Does the problem go away when using > another one, e.g., the original xterm? > Is this with the default colorscheme? ":colors default". > > As I said before I was having this issue both with xterm and urxvt.Using the default scheme reduces the effect. The color used in the default scheme doesn't subtract to the background keeping the cursor visible.
However, by using the default color scheme, having the cursor as a block and making it blink under xterm, I was able to confirm the difference/inconsistency when numbers are active. As Tony pointed out, there is a slight color difference in the position of the cursor. Basically if numbers are disabled, the background under the cursor is always of the same color as the unselected area (no matter what position). If numbers are active its the exact same thing with exception of the 1st character of each line where the background has the same color as the selected area. Depending on the color scheme, if the color of the cursor subtracts with the color of the selection, the cursor becomes invisible. So in my opinion this is indeed a bug, although a minor one. Additionally since the "becoming invisible" behavior is dependent on the color scheme and the terminal, it may go unnoticed for most users. Thanks for all the feedback. -- Renato Alves --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_dev" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
