From 1991c439f2181aa0212769f9bc7a2085b2c8e42f Mon Sep 17 00:00:00 2001 From: John McLear Date: Mon, 4 Jan 2021 16:25:41 +0000 Subject: [PATCH] shift logic working but wtf is happening here?! --- src/static/js/ace2_inner.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/static/js/ace2_inner.js b/src/static/js/ace2_inner.js index 32f7e0815..13c2efb77 100644 --- a/src/static/js/ace2_inner.js +++ b/src/static/js/ace2_inner.js @@ -3109,7 +3109,10 @@ function Ace2Inner() { top.console.log('AFTER', rep.selStart, rep.selEnd); */ rep.selStart = [9, 0]; - rep.selEnd = [10, 0]; // WTF is going on here..!?! + rep.selEnd = [10, 0]; // works.. + rep.selStart = [9, 0]; + rep.selEnd = [0, 0]; // DOES NOT work.. + // WTF is going on here..!?! top.console.log(rep); updateBrowserSelectionFromRep(); }