selectors["@>"] = selectors["@last"] = new MIM.Selector ('@>');
selectors["@-"] = selectors["@previous"] = new MIM.Selector ('@-');
selectors["@+"] = selectors["@next"] = new MIM.Selector ('@+');
- selectors["@["] = selectors["@previous-candidate-change"]
- = new MIM.Selector ('@[');
- selectors["@]"] = selectors["@next-candidate-change"]
- = new MIM.Selector ('@]');
+ selectors["@["] = selectors["@previous-group"] = new MIM.Selector ('@[');
+ selectors["@]"] = selectors["@next-group"] = new MIM.Selector ('@]');
MIM.Selector.prototype.Parser = function (domain, node)
{
{
this.commit ();
this.keys.val.splice (0, this.key_head);
- this.key_head = this.state_key_head = this.commit_key_head0;
+ this.key_head = this.state_key_head = this.commit_key_head = 0;
this.prev_state = null;
}
}
{
if (! this.active)
{
+ Xex.Log ("active = false");
this.key_unhandled = true;
this.unhandled_key = key;
return false;
this.key_unhandled = false;
this.keys.val.push (key);
var count = 0;
+ Xex.Log ("keyhead=" + this.key_head + " len="+this.keys.val.length);
while (this.key_head < this.keys.val.length)
{
if (! handle_key.call (this))
Xex.Log ("filtering " + ic.key);
try {
var result = ic.Filter (ic.key);
+ Xex.Log ("result = " + result);
} catch (e) {
Xex.Log ('Error:' + e);
throw (e);
list = lang_category[cat][lang].list;
if (! list)
list = lang_category[cat][lang].list = {};
- break;
+ for (name in MIM.imlist[lang])
+ list[name] = MIM.imlist[lang][name];
}
- if (list)
- for (name in MIM.imlist[lang])
- list[name] = MIM.imlist[lang][name];
- else
+ if (! list)
for (name in MIM.imlist[lang])
Xex.Log ('no category ' + lang + '-' + name);
}
li.style.top = '0px';
li.style.listStyle = 'none';
li.menu_level = level;
- li.appendChild (document.createTextNode (text));
+ var nobr = document.createElement ('nobr');
+ nobr.innerHTML = text;
+ li.appendChild (nobr);
return li;
}