In newest nightly build, there is a typo in Ext.Editor:

Code:



onSpecialKey: function(field, event) {
var me = this,
key = event.getKey(),
complete = me.completeOnEnter && key === event.ENTER,
cancel = me.cancelOnEsc && key === event.ESC,
task = me.specialKeyTask;


if (complete || cancel) {
event.stopEvent();
if (!task) {
me.specialKeyTask = task = new Ext.util.DelayedTask();
}
// Must defer this slightly to prevent exiting edit mode before the field's own
// key nav can handle the enter key, e.g. selecting an item in a combobox list


task.delay(me.specialKeyDelay, complete ? me.completEdit : me.cancelEdit, me);
//<debug>
// Makes unit testing easier
if (me.specialKeyDelay === 0) {
task.cancel();
if (complete) {
me.completeEdit();
} else {
me.cancelEdit();
}
}
//</debug>
}


me.fireEvent('specialkey', me, field, event);
},