ascript">
  var nums = "0123456789", space = "          ";
  var rulers = [], value = "";
  for (var i = 1; i <= 6; i++) {
    rulers.push({className: "ruler" + i, column: i * 10});
    for (var j = 1; j < i; j++) value += space;
    value += nums + "\n";
  }
  var editor = CodeMirror(document.body.lastChild, {
    rulers: rulers,
    value: value + value + value,
    lineNumbers: true
});
</script>

<p>Demonstration of
the <a href="../doc/manual.html#addon_rulers">rulers</a> addon, which
displays vertical 