rem: function() { var sel   = editor.getSelection(); var range = editor.createRange(sel); var SC = range.startContainer; var SO = range.startOffset; var EC = range.endContainer; var EO = range.endOffset; var newr = SC.nextSibling; if ( SC.nodeType == 3 ) { SC = SC.parentNode; } if ( ! ( /\S/.test(SC.tagName) ) ) { var p = document.createElement("p"); while ( SC.firstChild ) { p.appendChild(SC.firstChild); } SC.parentNode.insertBefore(p, SC); Xinha.removeFromParent(SC); var r = range.cloneRange(); r.setStartBefore(newr); r.setEndAfter(newr); r.extractContents(); sel.removeAllRanges(); sel.addRange(r); } }, 
add: setTimeout(function(){ var sel=_1b.getSelection(); var _1d=_1b.createRange(sel); var SC=_1d.startContainer; var SO=_1d.startOffset; var EC=_1d.endContainer; var EO=_1d.endOffset; var _22=SC.nextSibling; if(SC.nodeType==3){ SC=SC.parentNode; } if(!(/\S/.test(SC.tagName))){ var p=document.createElement("p"); while(SC.firstChild){ p.appendChild(SC.firstChild); } SC.parentNode.insertBefore(p,SC); Xinha.removeFromParent(SC); var r=_1d.cloneRange(); r.setStartBefore(_22); r.setEndAfter(_22); r.extractContents(); sel.removeAllRanges(); sel.addRange(r); } },10); 
context:     function()    {      var sel   = editor.getSelection();      var range = editor.createRange(sel);      var SC = range.startContainer;      var SO = range.startOffset;      var EC = range.endContainer;      var EO = range.endOffset;      var newr = SC.nextSibling;      if ( SC.nodeType == 3 )      {        SC = SC.parentNode;      }      if ( ! ( /\S/.test(SC.tagName) ) )      {        var p = document.createElement("p");        while ( SC.firstChild )        {          p.appendChild(SC.firstChild);        }        SC.parentNode.insertBefore(p, SC);        Xinha.removeFromParent(SC);        var r = range.cloneRange();        r.setStartBefore(newr);        r.setEndAfter(newr);        r.extractContents();        sel.removeAllRanges();        sel.addRange(r);      }    },
meta: 6015	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/6015/d8776708e0e10dfa0ab6ee1d0fa9e512d8d16348/Gecko.js/buggy/packages/acs-templating/www/resources/xinha-nightly/modules/Gecko/Gecko.js