Lines Matching refs:root

123root))}}if(a&&!this._.guardRTL){var C=d.type==CKEDITOR.NODE_ELEMENT?d:d.getParent(),F=d.type==CKED…
132 …a instanceof CKEDITOR.dom.document;this.document=f?a:a.getDocument();this.root=f?a.getBody():a},fu…
138 …R.dom.range.prototype={clone:function(){var a=new CKEDITOR.dom.range(this.root);a._setStartContain…
143 …er:this.endContainer,offset:this.endOffset};c&&(a(e),b(e,this.root),d||(a(f),b(f,this.root)));retu…
149 …1}return!0};if(this.collapsed)break;var m=this.getCommonAncestor(),h=this.root,k,l,r,z,A,y=!1,D,C;…
154 new CKEDITOR.dom.range(this.root);h=this.root;r.setStartAt(h,CKEDITOR.POSITION_AFTER_START);r.setEn…
163 …OR.dom.elementPath(this.startContainer,this.root),d=new CKEDITOR.dom.elementPath(this.endContainer…
164root)).block),f||(f=this.fixBlock(!1,a)));c=e&&this.checkStartOfBlock();d=f&&this.checkEndOfBlock(…
166 …=this[b?"endPath":"startPath"](),e=d.block||d.blockLimit,f;e&&!e.equals(d.root)&&!e.getFirst(a(e))…
167 this.root)},endPath:function(){return new CKEDITOR.dom.elementPath(this.endContainer,this.root)},ch…
168 …0,1));this.trim();a=new CKEDITOR.dom.elementPath(this.startContainer,this.root);c=this.clone();c.c…
169root);c=this.clone();c.collapse(!1);c.setEndAt(a.block||a.blockLimit,CKEDITOR.POSITION_BEFORE_END)…
172 …CKEDITOR.POSITION_AFTER_END,CKEDITOR.POSITION_BEFORE_START];a?(c=new CKEDITOR.dom.range(this.root),
176 …e=c.getAscendant("table",!0);return CKEDITOR.env.safari&&d&&c.equals(this.root)?b.getAscendant(a,!…
178 …;b.enlarge(CKEDITOR.ENLARGE_ELEMENT);if(c){var g=new CKEDITOR.dom.range(b.root),d=new CKEDITOR.dom…
182 …le.iterator.getNextParagraph(a);this._.nestedEditable=null}if(!this.range.root.getDtd()[a])return …
184 ….evaluator=v,f=f.previous(),this._.lastNode=f.getNextSourceNode(!0,null,q.root),this._.lastNode&&t…
185 v.root),this._.lastNode=(v.block||v.blockLimit).getNextSourceNode(!0))),this._.lastNode&&q.root.con…
187 …(),this._.nextNode=null;g=new CKEDITOR.dom.elementPath(f.startContainer,f.root);v=g.blockLimit;u={…
188 f.checkStartOfBlock()&&f.checkEndOfBlock()&&!v.equals(f.root)?g=v:!g||this.enforceRealBlocks&&g.is(…
189 …xtSourceNode:function(a,b,c){function d(a){return!(a.equals(c)||a.equals(e))}var e=this.range.root;
333 …(g)&&(d=b);if(!(e||!c(b)||a&&t(b)))return!1}}var d,e=a.getRanges()[0];a=a.root;var g={table:1,ul:1…
348 if(b){c=a.startPath();if(d=a.checkStartOfBlock()&&a.checkEndOfBlock()&&c.block&&!a.root.equals(c.bl…
369 …);if(!p.checkReadOnly()){var t=(new CKEDITOR.dom.elementPath(p.startContainer,p.root)).blockLimit||
370 p.root;n={type:G,dontFilter:w,editable:n,editor:q,range:p,blockLimit:t,mergeCandidates:[],zombies:[…
397 …return b+=c.join("\t")}function c(a){var c=this.root.editor,d=c.getSelection(1);this.reset();B=!0;…
398 …ativeSel=null;this.isFake=1;this.rev=v++;c._.fakeSelection=this;B=!1;this.root.fire("selectionchan…
401 !1}if(!(a.root instanceof CKEDITOR.editable))return!1;var c=a.startContainer,e=a.getPreviousNode(d,…
403 …ot");a.editable().append(c);var d=a.getSelection(1),e=a.createRange(),g=d.root.on("selectionchange…
419 …ct=function(){var a=this.root instanceof CKEDITOR.editable?this.root.editor.getSelection():new CKE…
420 …;a=a.root}var c=a instanceof CKEDITOR.dom.element;this.rev=b?b.rev:v++;this.document=a instanceof …
421 …type!=CKEDITOR.NODE_ELEMENT&&d.type!=CKEDITOR.NODE_TEXT||!this.root.equals(d)&&!this.root.contains…
426 ….getType();if(!a)return[];if(d==CKEDITOR.SELECTION_TEXT)return a=new CKEDITOR.dom.range(this.root),
427 …e++){for(var g=c.item(e),f=g.parentNode,h=0,a=new CKEDITOR.dom.range(this.root);h<f.childNodes.len…
428 …0;d<c.rangeCount;d++){var e=c.getRangeAt(d);b=new CKEDITOR.dom.range(this.root);b.setStart(new CKE…
432 …ectRanges(e))}},reset:function(){this._.cache={};this.isFake=0;var a=this.root.editor;if(a&&a._.fa…
433root);b.setStartBefore(a);b.setEndAfter(a);this.selectRanges([b])},selectRanges:function(b){var d=…
434 …Active();this.unlock();this.selectRanges(b);this.lock();l&&!l.equals(this.root)&&l.focus()}else{va…
438 …ocument.$.createRange();d.collapsed&&CKEDITOR.env.webkit&&h(d)&&(n=m(this.root),d.insertNode(n),(v…
439root),d.moveToPosition(v,CKEDITOR.POSITION_BEFORE_START)):d.moveToPosition(n,CKEDITOR.POSITION_AFT…
440root);e.setStartBefore(a);e.setEndAfter(a);d.ranges=new CKEDITOR.dom.rangeList(e);d.selectedElemen…
441 …n(b){for(var c=[],d,e=0;e<b.length;e++){var g=new CKEDITOR.dom.range(this.root);g.moveToBookmark(b…
444 k||h.includeReadonly;null==l&&(l=c.root.getCustomData("cke_includeReadonly"));var n=CKEDITOR.dtd[g]…
449 …nt;if(a.collapsed){for(var g=new CKEDITOR.dom.elementPath(d.getParent(),a.root),f,h=0,m;h<g.elemen…
451 ….root)).contains(this.element,1))&&!a.isReadOnly()&&x(a,this)}function k(a){var b=a.getCommonAnces…
477 …:k=h}}while(h=h.getParent());k||(k=e);this.block=l;this.blockLimit=k;this.root=e;this.elements=d}}…
479 …|this.root.equals(this.block)&&this.block||this.blockLimit,!!f.getDtd()[a]):!0},direction:function…
663 …stebin")){var k=b.getSelection(),m=k.createBookmarks();CKEDITOR.env.ie&&k.root.fire("selectionchan…
785 …e"]],refresh:function(a,b){this.setState("div"in(a.config.div_wrapTable?b.root:b.blockLimit).getDt…
795 …KEDITOR.NODE_ELEMENT&&"true"==a.getAttribute("contenteditable")},!0);if(a.root.equals(b))return a;…
932root[c?"getPrevious":"getNext"](CKEDITOR.dom.walker.invisible(!0)))||m.is&&m.isBlockBoundary({br:1…
933 …g--}var k=CKEDITOR.plugins.list.arrayToList(e,c,null,a.config.enterMode,b.root.getAttribute("dir")…
934 d(!0);d();k.replace(b.root);a.fire("contentDomInvalidated")}function f(a,b){this.name=a;this.contex…
947root:F,contents:[A]},k.push(y),CKEDITOR.dom.element.setMarker(m,F,"list_group_object",y));t=1;brea…
948 …CKEDITOR.dom.element.setMarker(y,E,"list_item_processed",!0));for(var E=n.root.getDocument(),I=voi…
949 …de.replace(n.root);h.fire("contentDomInvalidated")}else{t=b;l=y;A=F;C=l.contents;h=l.root.getDocum…
951root.getName()]&&a.call(this,b,y,m);for(E=0;E<F.length;E++)c(F[E]);CKEDITOR.dom.element.clearAllMa…
1087 …tSelection(),d;if(d=(new CKEDITOR.dom.elementPath(c.getCommonAncestor(),c.root)).contains({td:1,th…