After few tests, I could say, that bug propably isn't related to number of lines or number of characters, but it might have something to do with characters itself. My wild guess is, that this is related to characters like " and '
For example.. I have this .php-document with over 2000 lines. After deleting last 700 lines from the end, Page Up finally started to work again (with that document). But.. if last line was:
Code: Select all
echo "<td colspan=\"2\" style=\"width: ".$config['columnwidth']."px;\" onmouseover=\"document.getElementById('friday').style.backgroundColor = 'purple'; document.getElementById('fridaytext').style.color = '#ffffff'; this.style.cursor = 'pointer';\" onmouseout=\"document.getElementById('friday').style.backgroundColor = '".$config['bgcolorbookingheader']."'; document.getElementById('fridaytext').style.color = '#000000'\" onclick=\"window.location.href = '".$config['adminscript']."?command=booktime&date=".$mysqldate['friday']."&huserid=".$huserid."&userid=".$userid."'\">\n";
This problem occurs very often. It's a bit annoying.