wincent / scalpel

🔪 Fast within-file word replacement for Vim
MIT License
118 stars 4 forks source link

Wrong selection in visual mode #9

Closed narcisse81 closed 6 years ago

narcisse81 commented 6 years ago

Hi Greg

Sorry to bother you once again. But there's still an issue with the visual selection:

entity spaceinvaders is generic ( rx : integer := 160; -- H resolution ry : integer := 120; -- W resolution cpu_num : integer := ALIENS_PER_LINE; -- aliens per line (set in io.vhd) cpu_lines : integer := ALIEN_LINES; -- number of lines (set in io.vhd) py : integer := 110; -- alien_w : integer := 11; -- enemy width alien_h : integer := 8; -- enemy height player_w : integer := 13; -- player width player_h : integer := 6 -- player height );

If I visually select "integer := 160" and I want to perform a substitution on this string, I've got: :'<,'>S/\v<160>// instead of: :'<,'>S/\v\//

I'm at home, and my vim version is 7.4.1689 Best regards Stephane

narcisse81 commented 6 years ago

Hi Greg

Sorry for this false alarm. I had a wrong understanding on the way the plugin works. I can close this ticket.

Stephane

wincent commented 6 years ago

Sorry to bother you once again.

@narcisse81: not a bother; I love detailed bug reports.