rem: this._textfield.setText(""); 
add:  var val = el.value;   if (val.length > 1) { while(val.charAt(0) == "0") { val = val.substr(1, val.length); };  var f1 = parseInt(val) || 0;  if (f1 != el.value) { el.value = f1; return; }; };   if (val == "-" && acceptEmpty && this.getMin() < 0) { el.value = val; return; };  val = parseInt(val);  var doFix = true; var fixedVal = this._manager._checkValue(val);  if (isNaN(fixedVal)) { fixedVal = this._manager.getValue(); };     if (acceptEmpty && val == "") { doFix = false; } else if (!isNaN(val)) { if (acceptEdit) { if (val > fixedVal) { if (val > 0 && fixedVal <= 0) {  } else if (String(val).length < String(fixedVal).length) { doFix = false; }; } else if (val < fixedVal) { if (val < 0 && fixedVal >= 0) {  } else if (String(val).length < String(fixedVal).length) { doFix = false; }; }; }; };  if (doFix) {  el.value = fixedVal; };  if (!acceptEdit) { this._manager.setValue(fixedVal); }; 
context: proto._ensureValidValue = function(e){  var el = this._textfield.getElement();      if (!el) {    return;  };    if (el.value != "")  {    var val = parseInt(el.value);    if (!isNaN(val)) {      this._manager.setValue(val);    };      var fixedValue = this._manager.getValue();      this._textfield.setText(fixedValue);    if (fixedValue != el.value) {      el.value = fixedValue;    };  }  else  {    this._textfield.setText("");    };};
meta: 1005	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1005/e5202f6e4fa1ed1853232b5fe97bbf92671bfb1e/QxSpinner.js/clean/qooxdoo/source/script/widgets/QxSpinner.js