### Selection infinite loop [#629](https://github.com/ckeditor/ckeditor5-engine/issues/629)

Before testing open console.

1. Select part of text.
2. Click bold or press <kbd>ctrl + b</kbd>.
3. There should be no errors or warnings in console.


1. Put caret somewhere in text.
2. Press <kbd>left arrow</kbd>, then <kbd>right arrow</kbd>.
3. Repeat as fast as you can for 2-3 seconds.
4. There should be no errors or warnings in console.
