From 8cb74e00e241706963de875aa6effaf4341577ed Mon Sep 17 00:00:00 2001 From: GordoRank Date: Mon, 13 Jan 2014 23:19:18 +0000 Subject: [PATCH] Restart cursor on selectWord/selectLine Restarting cursor rendering using initDelayedCursor(true) in selectWord and selectLine improves user perceived responsiveness and provides an accurate reproduction of MS Word behaviour --- src/mixins/itext_behavior.mixin.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/mixins/itext_behavior.mixin.js b/src/mixins/itext_behavior.mixin.js index c0e04816..c9a3b64c 100644 --- a/src/mixins/itext_behavior.mixin.js +++ b/src/mixins/itext_behavior.mixin.js @@ -280,6 +280,7 @@ this.setSelectionStart(newSelectionStart); this.setSelectionEnd(newSelectionEnd); + this.initDelayedCursor(true); }, /** @@ -292,6 +293,7 @@ this.setSelectionStart(newSelectionStart); this.setSelectionEnd(newSelectionEnd); + this.initDelayedCursor(true); }, /**