mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-21 16:06:16 -04:00
shift logic working but wtf is happening here?!
This commit is contained in:
parent
d41b5ec96d
commit
1991c439f2
1 changed files with 4 additions and 1 deletions
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue