code: function() {
        var cur = select.selectionTopNode(this.container, true);
        if (cur === false) return false;
        cur = endOfLine(cur, this.container);
        if (!cur) return false;
        select.focusAfterNode(cur.previousSibling, this.container);
        select.scrollToCursor(this.container);
        return true;
      }
docs: Some browsers (Opera) don't manage to handle the end key properly in the face of vertical scrolling.