Lines Matching refs:node

57 …nction(){var a=this.$.target||this.$.srcElement;return a?new CKEDITOR.dom.node(a):null},getPhase:f…
62node=function(a){return a?new CKEDITOR.dom[a.nodeType==CKEDITOR.NODE_DOCUMENT?"document":a.nodeTyp…
63 …TAINED=8,CKEDITOR.POSITION_CONTAINS=16,CKEDITOR.tools.extend(CKEDITOR.dom.node.prototype,{appendTo…
64 …);e++)c(b.getChild(e))}}var e=this.$.cloneNode(a);b(e);e=new CKEDITOR.dom.node(e);CKEDITOR.env.ie&…
69node(f);while(b&&a&&!a(b));return b},getNext:function(a){var f=this.$,b;do b=(f=f.nextSibling)&&ne…
72 …=typeof a?b==a:b in a});for(;b;){if(c(e?new CKEDITOR.dom.node(b):b))return new CKEDITOR.dom.node(b…
79 …)if(l++,l==e){b=d;break}}else b=b.childNodes[e]}return b?new CKEDITOR.dom.node(b):null},getElement…
82 …ction(a){return 0>a||a>=this.$.length?null:(a=this.$[a])?new CKEDITOR.dom.node(a):null}},CKEDITOR.…
83 a)&&(a.$?a:new CKEDITOR.dom.element(a))},CKEDITOR.dom.element.prototype=new CKEDITOR.dom.node,CKEDI…
96 …&new CKEDITOR.dom.node(b))&&a&&!a(b)&&(b=b.getNext(a));return b},getLast:function(a){var b=this.$.…
117 b.shift());else c=a(c,b);return c?new CKEDITOR.dom.node(c):null}}(),getChildCount:function(){return…
144 …a=a.getPreviousSourceNode();else{for(a=a.$;a.lastChild;)a=a.lastChild;a=new CKEDITOR.dom.node(a);a=
145 …SourceNode();else{for(b=b.$;b.lastChild;)b=b.lastChild;b=new CKEDITOR.dom.node(b)}a.getPosition(b)…
310 …tmlParser.element.prototype=CKEDITOR.tools.extend(new CKEDITOR.htmlParser.node,{type:CKEDITOR.NODE…
366 …(b(e,d)):(h=!!k[f],"br"!=f||!e.data("cke-eol")||n&&n!=v-1||(C=(g=n?m[n-1].node:u.getItem(n+1))&&(!…
367 …,isBlock:e.isBlockBoundary(),hasBlockSibling:g,node:e,name:f,allowed:h}),g=C=0)):m.push({isElement…
368 …h(b,c,d,e))}function m(b,c){function d(b,c){if(c.isBlock&&c.isElement&&!c.node.is("br")&&a(b)&&b.i…
376 …push(Z),n.zombies.push(W));else{W=I.getName();aa=!p;M=p==G.length-1;W=e(t.node,W);for(var X=[],ba=…
377node);t.lastNotAllowed&&p<G.length-1&&((Z=fa?w:Z)&&R.setEndAt(Z,CKEDITOR.POSITION_AFTER_START),q=0…
402node:d.anchorNode,offset:d.anchorOffset},{node:d.focusNode,offset:d.focusOffset}];d.anchorNode==c.…
421 new CKEDITOR.dom.node(e.commonAncestorContainer);else{try{e=a.createRange()}catch(g){}d=e&&CKEDITOR…
424 …anges:function(){var a=q?function(){function a(b){return(new CKEDITOR.dom.node(b)).getIndex()}var …
427node(d.container),d.offset),d=b(c),a.setEnd(new CKEDITOR.dom.node(d.container),d.offset),a.endCont…
428 …ge(this.root);b.setStart(new CKEDITOR.dom.node(e.startContainer),e.startOffset);b.setEnd(new CKEDI…
475 …m.domObject.call(this,a)},CKEDITOR.dom.comment.prototype=new CKEDITOR.dom.node,CKEDITOR.tools.exte…
479 …createTextNode(a));this.$=a},CKEDITOR.dom.text.prototype=new CKEDITOR.dom.node,CKEDITOR.tools.exte…
614 …m",function(){a.document.on("dirChanged",function(b){a.fire("dirChanged",{node:b.data,dir:b.data.g…
691 …,h.setStart(CKEDITOR.dom.node(c.startContainer),c.startOffset),h.collapse(!0);else if(c.rangeParen…
754 …xec(r))?q.index:r.length);else if(g&&(w+=1,w>r.length))return f(k);return{node:k,offset:w}}var g=/…
755 p.index+p[0].length,0===p.index&&(p=f(t,!0),w=p.node,a=p.offset),g>=l.length&&(l=f(t),q=l.node,g=l.…
884 function(a){var e=b.createRange(),d=a.data.node;e.setStartBefore(d);e.setEndAfter(d);for(var f=new …
902 ….data.node);f.setEndAfter(a.data.node);for(var k=new CKEDITOR.dom.walker(f),d;d=k.next();)if(d.typ…
1060 …er(function(b){var d=a.editable(),e=d.getCustomData(b.charName);e&&(e.$=b.node,d.setCustomData(b.c…