rem: var vKeys = qx.event.types.KeyEvent.keys; 
add: var vKeys = qx.event.type.KeyEvent.keys; 
context: qx.Proto._onkeydown = function(e){  var vManager = this._manager;  var vKeyCode = e.getKeyCode();  var vKeys = qx.event.types.KeyEvent.keys;  var vVisible = this._popup.isSeeable();  switch(vKeyCode)  {    // Handle <ENTER>    case vKeys.enter:      if (vVisible)      {        this.setSelected(this._manager.getSelectedItem());        this._closePopup();      }      else      {        this._openPopup();      };      return;    // Handle <ESC>    case vKeys.esc:      if (vVisible)      {        vManager.setLeadItem(this._oldSelected);        vManager.setAnchorItem(this._oldSelected);        vManager.setSelectedItem(this._oldSelected);        this._field.setValue(this._oldSelected ? this._oldSelected.getLabel() : qx.constant.Core.EMPTY);        this._closePopup();      };      return;    // Handle <PAGEUP>    case vKeys.pageup:      if (!vVisible)      {        var vPrevious;        var vTemp = this.getSelected();        if (vTemp)        {          var vInterval = this.getPagingInterval();          do {            vPrevious = vTemp;          } while(--vInterval && (vTemp = vManager.getPrevious(vPrevious)));        }        else        {          vPrevious = vManager.getLast();        };        this.setSelected(vPrevious);        return;      };      break;    // Handle <PAGEDOWN>    case vKeys.pagedown:      if (!vVisible)      {        var vNext;        var vTemp = this.getSelected();        if (vTemp)        {          var vInterval = this.getPagingInterval();          do {            vNext = vTemp;          } while(--vInterval && (vTemp = vManager.getNext(vNext)));        }        else        {          vNext = vManager.getFirst();        };        this.setSelected(vNext);        return;      };      break;  };  // Default Handling  if (!this.isEditable() || vVisible)  {    this._list._onkeydown(e);    var vSelected = this._manager.getSelectedItem();    if (!vVisible)    {      this.setSelected(vSelected);    }    else if (vSelected)    {      this._field.setValue(vSelected.getLabel());    };    return;  };  switch(vKeyCode)  {    case vKeys.pageup:    case vKeys.pagedown:      if (!this._popup.isCreated()) {        return;      };      // no break here    case vKeys.up:    case vKeys.down:      this._list._onkeydown(e);      this.setSelected(this._manager.getSelectedItem());      break;  };};
meta: 1005	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1005/38710fb756ef4603abbb6bd91cb02c58b687fdd2/ComboBox.js/clean/qooxdoo/source/script/qx/ui/form/ComboBox.js