shift logic working but wtf is happening here?!

This commit is contained in:
John McLear 2021-01-04 16:25:41 +00:00
parent d41b5ec96d
commit 1991c439f2

View file

@ -3109,7 +3109,10 @@ function Ace2Inner() {
top.console.log('AFTER', rep.selStart, rep.selEnd); top.console.log('AFTER', rep.selStart, rep.selEnd);
*/ */
rep.selStart = [9, 0]; 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); top.console.log(rep);
updateBrowserSelectionFromRep(); updateBrowserSelectionFromRep();
} }