rem: }; }; }; 
add: } } } 
context: qx.Proto._checkValue = function(acceptEmpty, acceptEdit){  var el = this._textfield.getElement();  if (!el) {    return;  };  if (el.value == qx.constant.Core.EMPTY)  {    if (!acceptEmpty)    {      el.value = this.resetValue();      this._textfield.selectAll();      return;    };  }  else  {    // cache working variable    var val = el.value;    // fix leading '0'    if (val.length > 1)    {      while(val.charAt(0) == qx.constant.Core.ZERO) {        val = val.substr(1, val.length);      };      var f1 = parseInt(val) || 0;      if (f1 != el.value) {        el.value = f1;        return;      };    };    // fix for negative integer handling    if (val == qx.constant.Core.MINUS && acceptEmpty && this.getMin() < 0)    {      if (el.value != val) {        el.value = val;      };      return;    };    // parse the string    val = parseInt(val);    // main check routine    var doFix = true;    var fixedVal = this._manager._checkValue(val);    if (isNaN(fixedVal)) {      fixedVal = this._manager.getValue();    };    // handle empty string    if (acceptEmpty && val == qx.constant.Core.EMPTY)    {      doFix = false;    }    else if (!isNaN(val))    {      // check for editmode in keypress events      if (acceptEdit)      {        // fix min/max values        if (val > fixedVal && !(val > 0 && fixedVal <= 0) && String(val).length < String(fixedVal).length)        {          doFix = false;        }        else if (val < fixedVal && !(val < 0 && fixedVal >= 0) && String(val).length < String(fixedVal).length)        {          doFix = false;        };      };    };    // apply value fix    if (doFix && el.value != fixedVal) {      el.value = fixedVal;    };    // inform manager    if (!acceptEdit) {      this._manager.setValue(fixedVal);    };  };};
meta: 1005	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1005/5b1a09c4ca80efdfbd41063412dd526cf7e711df/Spinner.js/buggy/qooxdoo/source/script/qx/ui/form/Spinner.js