Allow counting also with greater numbers than 9

Bug #516519 reported by Lauri Niskanen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ViGedit
Fix Committed
Undecided
Unassigned

Bug Description

Using counts greater than 9 are not working.

Steps to reproduce:
1. Yank a line
2. Type 20p

Results:
1. In Vigedit it only pastes the line one time (counts with number 9 or less are working)
2. In Vi(m) it pastes the line 20 times. (expected result)

Revision history for this message
Stephen Moore (delfick) wrote :

Hi,

it seems what was happening was 0 was being registered as the command to go to the start of the line in command mode which means it wasn't being added to the count. (so something like 29 would work)

I've fixed it so that the 0 won't register as a command when the count is underway.

...

:)

Changed in vigedit:
status: New → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.