You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
}else{// if no, we need to add the text in a new line
847
+
Array.prototype.push.apply(curSplice,[text]);
848
+
curCol+=text.length;
849
+
}
827
850
}else{
851
+
// although the line is put into splice, curLine is not increased, because
852
+
// there may be more chars in the line (newline is not reached)
828
853
constsline=putCurLineInSplice();
829
854
if(!curSplice[sline]){
830
855
console.error('curSplice[sline] not populated, actual curSplice contents is ',curSplice,'. Possibly related to https://github.com/ether/etherpad-lite/issues/2802');
0 commit comments