joelpurra/editdidwhat — Issue #2: Autocompletion demo skips every other key press on not-last line
Author: joelpurra
Created: 2012-02-15 17:58:08+00:00
State: open
Labels: Bug, Confirmed bug, Demo

Editing on an even line, where there is at least one subsequent non-empty line, only autocompletes digits to names every other digit.

See the [demo](http://joelpurra.github.com/editdidwhat/example/autocomplete-lines-starting-with-digits.html) and [source](https://github.com/joelpurra/editdidwhat/blob/master/example/autocomplete-lines-starting-with-digits.html).

Entered characters sequence and result

```
a

b
```

```
a
1 Baltsar
b
```

```
a
12
b
```

Expected

```
a
12 Baltsar, Camilla
b
```