rem: } } else if (evt.getModifiers() == qx.event.type.DomEvent.CTRL_MASK) { if (! this.isEditing()) {  
add: } else if (evt.getModifiers() == qx.event.type.DomEvent.CTRL_MASK) { 
context: qx.Proto._onkeydown = function(evt) {  var keyCode = evt.getKeyCode();  var consumed = false;  if (keyCode == qx.event.type.KeyEvent.keys.space) {    if (! this.isEditing()) {      // No editing mode      this._selectionManager.handleKeyDown(this._focusedRow, evt);      consumed = true;    }  } else if (evt.getModifiers() == 0) {    if (this.isEditing()) {      // Editing mode      consumed = true;      switch (keyCode) {        case qx.event.type.KeyEvent.keys.enter:          this.stopEditing();          var oldFocusedRow = this._focusedRow;          this.moveFocusedCell(0, 1);          if (this._focusedRow != oldFocusedRow) {            this.startEditing();          }          break;        case qx.event.type.KeyEvent.keys.esc:          this.cancelEditing();          this.focus();          break;        default:          consumed = false;          break;      }    } else {      // No editing mode      consumed = true;      switch (keyCode) {        case qx.event.type.KeyEvent.keys.left:          this.moveFocusedCell(-1, 0);          break;        case qx.event.type.KeyEvent.keys.right:          this.moveFocusedCell(1, 0);          break;        case qx.event.type.KeyEvent.keys.up:          this.moveFocusedCell(0, -1);          break;        case qx.event.type.KeyEvent.keys.down:          this.moveFocusedCell(0, 1);          break;        case qx.event.type.KeyEvent.keys.pageup:        case qx.event.type.KeyEvent.keys.pagedown:          var scroller = this.getPaneScroller(0);          var pane = scroller.getTablePane();          var rowCount = pane.getVisibleRowCount() - 1;          var rowHeight = pane.getTableRowHeight();          var direction = (keyCode == qx.event.type.KeyEvent.keys.pageup) ? -1 : 1;          scroller.setScrollY(scroller.getScrollY() + direction * rowCount * rowHeight);          this.moveFocusedCell(0, direction * rowCount);          break;        case qx.event.type.KeyEvent.keys.home:          this.setFocusedCell(0, this._focusedRow, true);          break;        case qx.event.type.KeyEvent.keys.end:          var colCount = this.getTableColumnModel().getVisibleColumnCount();          this.setFocusedCell(colCount - 1, this._focusedRow, true);          break;        case qx.event.type.KeyEvent.keys.f2:        case qx.event.type.KeyEvent.keys.enter:          this.startEditing();          break;        default:          consumed = false;          break;      }    }  } else if (evt.getModifiers() == qx.event.type.DomEvent.CTRL_MASK) {    if (! this.isEditing()) {      // No editing mode      consumed = true;      switch (keyCode) {        case qx.event.type.KeyEvent.keys.home:          this.setFocusedCell(this._focusedCol, 0, true);          break;        case qx.event.type.KeyEvent.keys.end:          var rowCount = this.getTableModel().getRowCount();          this.setFocusedCell(this._focusedCol, rowCount - 1, true);          break;        case 65: // Ctrl + A          var rowCount = this.getTableModel().getRowCount();          if (rowCount > 0) {            this.getSelectionModel().setSelectionInterval(0, rowCount - 1);          }          break;        default:          consumed = false;          break;      }    }  }  if (consumed) {    evt.preventDefault();    evt.stopPropagation();  }}
meta: 1005	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1005/3b970518171b544c8ca0bf6cf0741ecbe1798125/Table.js/clean/qooxdoo/frontend/framework/source/class/qx/ui/table/Table.js