> Here is another update, that fixes the problem, that vim_str2nr always 
> checks all available chars for numbers, making it impossible to select 
> less numbers.

I'm going from this patch. I've triggered a couple bugs where I couldn't figure 
out how to repeat them. I'll have to keep trying.

1. The cursor should really end at the top-left, probably at `< (maybe '< for 
line visual, I don't know). This is what you expect from most visual mode 
commands, and it's much more useful for dot-repeat.

This should act on the same area both times, but instead:

1
1
--- <C-V>j<C-A>.
2
3

This should act on the next column over:

1 1
1 1
--- <C-V>j<C-A>w.
2 1
2 2

Some of the cursor positions right now are especially silly. Here I insert to 
the end of the line:

1
1
--- Vj<C-A>ia<Esc>
2
2a

Or you can crash vim:

1
--- YpxVk<C-A>a!
segmentation fault

Or like this:

10
10
10
--- Vj<C-X>a!
segmentation fault

2. The new dot repeat area is glitchy.

You expect visual mode dot repeats to act on a 1v area. This dot repeat shrinks 
the visual area:

1
1
1
1
--- Vjj<C-A>gv<C-A>{.gv<C-A>
5
5
3
1

It's different in the other visual modes:

1
1
1
--- vjj<C-A>(.
3
2
2

3. Octal detection in decimal numbers is annoying. I'm not sure I'd call this a 
bug, but it's weird:

107
--- lvl<C-A>
1010

A real bug, even weirder:

101
--- lv<C-A>
1011

4. It's very picky now about not affecting digits right of the visual area... 
unless hex is detected.

A funny example where the column changed is different in each row, and the hex 
row changes outside of the visual area:

0x1
001
aaa
--- :se nf+=alpha<CR><C-V>jjl<C-A>
0x2
011
baa

5. It's impossible to increment a series of right-aligned numbers.

1
19
119
--- :%ri3<CR>{<C-V>3e<C-A>
  1
 19
120

The way I'd expect it to work, it would look for the left-most incrementable 
number in each line, assuming it's inside the visual area. As it is, it ignores 
any line where there's not a number *exactly* aligned to the left side.

These numbers are both in the visual area, but only the left-aligned one is 
recognized:

1=
=1
--- <C-V>jl<C-A>
2=
=1

6. The position of the cursor within identical visual areas still matters.

Similar to the one above:

1
19
119
--- :%ri3<CR>{$<C-V>G<C-A>
  1
 19
219

7. The entire screen is redrawn every time, even for single-line edits that 
affect zero or one characters.

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui