jaredpar/VsVim — Issue #748: repeat last change does not always work correctly
Author: asaveljevs
Created: 2012-02-04 02:16:55+00:00
State: open

I have come across multiple cases in VsVim 1.1.2.0 (currently available in Visual Studio Gallery) when repeating last change (i.e., pressing `.`) does not work correctly. For instance, consider the following scenario.

```c++
void f()
{
int A;
int b;
}
```

1. Position the cursor at the beginning of the first `int`.
2. Press `o` to open a line, then ``, then come back to the first `int`.
3. Press `cw`, replace `int` with `double`, press ``.
4. Move to the second `int`, press `.`. Observe the following code:

```c++
void f()
{
double A;

int b;
double}
```