DXR is a code search and navigation tool aimed at making sense of large projects. It supports full-text and regex searches as well as structural queries.

Mercurial (4a108e94d3e2)

VCS Links

Line Code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
<!DOCTYPE html>
<html>
<head>
<script>

function boom()
{
  var t1 = document.createTextNode("a");
  var t2 = document.createTextNode("b");
  document.appendChild(t1);
  document.appendChild(t2);
  var sel = window.getSelection();
  sel.collapse(t2, 0)
  document.normalize();
  sel.removeAllRanges();
}

</script>
</head>
<body onload="boom();"></body>
</html>