Open AllanLRH opened 11 years ago
I can't reproduce the bug, but I found another (
Wierd – I still have the problem when the increment/decreament changes the number of digits. I checked (md5 checksum) that I have the same of the python file as in this repository. Here I do increments with three cursors, invoking the command four times (the grey numbers are the line numbers in ST):
Seems like the cursors is duplicated when the number of digits is increaced, and since the command is applied once per cursor, the command is applied twice to the number with two cursors.
sorry ( I steel can't reproduce the bug. I can't understand what it can be. Why cursor is duplicated in the first line. If you try in a different order (10 9 11) - the same problem at 9 ?
Yup, same thinng happens when I shuffle the top and middle line. But since you can't reprouce the error, my best guess is that I have some other plugin which is interfering with this plugin.
A strange thing is that this only happens when I put my cursor in front of the number to be incremented/decremented. When the cursor is behind the number, it works just fine.
I still have this bug (using Sublime Text 3). My guess is that increase/decrease the command is sequentially executed for every cursor in the buffer. When the cursor is placed in front of a number which is being increased or decreased to a value which causes the length of the string representation of that number to increase, another cursor is spawned inside the number, and the command is thus executed for this cursor as well, since it's the next cursor in line.
Try update for v0.1.19
I steel can't reproduce the bug. But again I found another similar bug (
Had same problem.
Hello! Someone has the same problem?
Hi,
Yes I am having the same issue, in both increase and decrease (e.g., |9
→ |1|1
).
Under ST3 dev version, Linux, Ubuntu 15.10.
Suppose I have the following code, where the
|
is a the caret:Activete decrease value by 1 once, and get this:
I hoped to get this instead: