Iterator should not skip block boundaries.
We must shrink range when at outer boundaries or not a path block boundary.
Code refactoring: Extracted repeating code to function.
Changelog entry.
Merge branch 't/12178'
Fixed issue with Magicline throwing an exception when DOMDocument.elementFromPoint returns empty object.
Code simplification. Removed test that can't validate the issue.
Changelog entry.
Merge branch 't/12185'
Initial commit with input-oriented solution (dirty, uncleaned).
Added function onTypingStart which will enclose logic of making an initial snapshot when typing.
Moved strokesRecorded variable initialization.
Fixed issues with arrow keys, simplified code.
Navigation checked extracted to isNavigationKey fn. Added support for keys like home, end etc.
Removed unused vars.
Moved undoManager.newType() call to keydown event.
Changed mouse listener to click event.
Renamed variable to inputFired.
Code adjusted to work with IE.
Simplified code by reusing keyCode variable.