1263. Araxis Merge File Comparison Report

Produced by Araxis Merge on 2/1/2017 2:57:49 PM Eastern Standard Time. See www.araxis.com for information about Merge. This report uses XHTML and CSS2, and is best viewed with a modern standards-compliant browser. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.

1263.1 Files compared

# Location File Last Modified
1 C:\Araxis_Merge_Comprasion\Pub_un\BTSSS_CIF_122016.zip\BTSSS_CIF_12_20_16\clean\CRM Portal\trunk\BTSSSPortal\js\ckeditor\plugins\find\dialogs find.js Tue Dec 20 19:50:47 2016 UTC
2 Wed Feb 1 19:57:49 2017 UTC

1263.2 Comparison summary

Description Between
Files 1 and 2
Text Blocks Lines
Unchanged 0 0
Changed 0 0
Inserted 0 0
Removed 1 24

1263.3 Comparison options

Whitespace
Character case Differences in character case are significant
Line endings Differences in line endings (CR and LF characters) are ignored
CR/LF characters Not shown in the comparison detail

1263.4 Active regular expressions

No regular expressions were active.

1263.5 Comparison detail

1   /*        
2    Copyright  (c) 2003- 2015, CKSo urce - Fre derico Kna bben. All  rights res erved.        
3    This soft ware is co vered by C KEditor Co mmercial L icense. Us age withou t proper l icense is  prohibited .        
4   */        
5   (function( ){function  C(c){retu rn c.type= =CKEDITOR. NODE_TEXT& &0<c.getLe ngth()&&(! r||!c.isRe adOnly())} function w (c){return !(c.type== CKEDITOR.N ODE_ELEMEN T&&c.isBlo ckBoundary (CKEDITOR. tools.exte nd({},CKED ITOR.dtd.$ empty,CKED ITOR.dtd.$ nonEditabl e)))}funct ion q(c,g) {function  n(a,b){var  d=this,c= new CKEDIT OR.dom.wal ker(a);c.g uard=b?w:f unction(a) {!w(a)&&(d ._.matchBo undary=!0) };c.evalua tor=C;c.br eakOnFalse =1;a.start Container. type==CKED ITOR.NODE_ TEXT&&(thi s.textNode =a.startCo ntainer,th is.offset= a.startOff set-        
6   1);this._= {matchWord :b,walker: c,matchBou ndary:!1}} function q (a,b){var  d=c.create Range();d. setStart(a .textNode, b?a.offset :a.offset+ 1);d.setEn dAt(c.edit able(),CKE DITOR.POSI TION_BEFOR E_END);ret urn d}func tion t(a){ var b=c.ge tSelection (),d=c.edi table();b& &!a?(a=b.g etRanges() [0].clone( ),a.collap se(!0)):(a =c.createR ange(),a.s etStartAt( d,CKEDITOR .POSITION_ AFTER_STAR T));a.setE ndAt(d,CKE DITOR.POSI TION_BEFOR E_END);ret urn a}var  x=new CKED ITOR.style (CKEDITOR. tools.exte nd({attrib utes:{"dat a-cke-high light":1}, fullMatch: 1,        
7   ignoreRead only:1,chi ldRule:fun ction(){re turn 0}},c .config.fi nd_highlig ht,!0));n. prototype= {next:func tion(){ret urn this.m ove()},bac k:function (){return  this.move( !0)},move: function(a ){var b=th is.textNod e;if(null= ==b)return  y.call(th is);this._ .matchBoun dary=!1;if (b&&a&&0<t his.offset )this.offs et--;else  if(b&&this .offset<b. getLength( )-1)this.o ffset++;el se{for(b=n ull;!b&&!( b=this._.w alker[a?"p revious":" next"].cal l(this._.w alker),thi s._.matchW ord&&!b||t his._.walk er._.end); );this.off set=(this. textNode=b )?        
8   a?b.getLen gth()-1:0: 0}return y .call(this )}};var u= function(a ,b){this._ ={walker:a ,cursors:[ ],rangeLen gth:b,high lightRange :null,isMa tched:0}}; u.prototyp e={toDomRa nge:functi on(){var a =c.createR ange(),b=t his._.curs ors;if(1>b .length){v ar d=this. _.walker.t extNode;if (d)a.setSt artAfter(d );else ret urn null}e lse d=b[0] ,b=b[b.len gth-1],a.s etStart(d. textNode,d .offset),a .setEnd(b. textNode,b .offset+1) ;return a} ,updateFro mDomRange: function(a ){var b=ne w n(a);thi s._.cursor s=[];do a= b.next(),a .character &&this._.c ursors.pus h(a);        
9   while(a.ch aracter);t his._.rang eLength=th is._.curso rs.length} ,setMatche d:function (){this._. isMatched= !0},clearM atched:fun ction(){th is._.isMat ched=!1},i sMatched:f unction(){ return thi s._.isMatc hed},highl ight:funct ion(){if(! (1>this._. cursors.le ngth)){thi s._.highli ghtRange&& this.remov eHighlight ();var a=t his.toDomR ange(),b=a .createBoo kmark();x. applyToRan ge(a,c);a. moveToBook mark(b);th is._.highl ightRange= a;b=a.star tContainer ;b.type!=C KEDITOR.NO DE_ELEMENT &&(b=b.get Parent()); b.scrollIn toView();t his.update FromDomRan ge(a)}},        
10   removeHigh light:func tion(){if( this._.hig hlightRang e){var a=t his._.high lightRange .createBoo kmark();x. removeFrom Range(this ._.highlig htRange,c) ;this._.hi ghlightRan ge.moveToB ookmark(a) ;this.upda teFromDomR ange(this. _.highligh tRange);th is._.highl ightRange= null}},isR eadOnly:fu nction(){r eturn this ._.highlig htRange?th is._.highl ightRange. startConta iner.isRea dOnly():0} ,moveBack: function() {var a=thi s._.walker .back(),b= this._.cur sors;a.hit MatchBound ary&&(this ._.cursors =b=[]);b.u nshift(a); b.length>t his._.rang eLength&&        
11   b.pop();re turn a},mo veNext:fun ction(){va r a=this._ .walker.ne xt(),b=thi s._.cursor s;a.hitMat chBoundary &&(this._. cursors=b= []);b.push (a);b.leng th>this._. rangeLengt h&&b.shift ();return  a},getEndC haracter:f unction(){ var a=this ._.cursors ;return 1> a.length?n ull:a[a.le ngth-1].ch aracter},g etNextChar acterRange :function( a){var b,d ;d=this._. cursors;d= (b=d[d.len gth-1])&&b .textNode? new n(q(b) ):this._.w alker;retu rn new u(d ,a)},getCu rsors:func tion(){ret urn this._ .cursors}} ;var z=fun ction(a,b) {var d=[-1 ];b&&(a=a. toLowerCas e());        
12   for(var c= 0;c<a.leng th;c++)for (d.push(d[ c]+1);0<d[ c+1]&&a.ch arAt(c)!=a .charAt(d[ c+1]-1);)d [c+1]=d[d[ c+1]-1]+1; this._={ov erlap:d,st ate:0,igno reCase:!!b ,pattern:a }};z.proto type={feed Character: function(a ){for(this ._.ignoreC ase&&(a=a. toLowerCas e());;){if (a==this._ .pattern.c harAt(this ._.state)) return thi s._.state+ +,this._.s tate==this ._.pattern .length?(t his._.stat e=0,2):1;i f(this._.s tate)this. _.state=th is._.overl ap[this._. state];els e return 0 }},reset:f unction(){ this._.sta te=0}};var  D=/[.,"'? !;: \u0085 \u00a0\u16 80\u280e\u 2028\u2029 \u202f\u20 5f\u3000]/ ,        
13   A=function (a){if(!a) return!0;v ar b=a.cha rCodeAt(0) ;return 9< =b&&13>=b| |8192<=b&& 8202>=b||D .test(a)}, e={searchR ange:null, matchRange :null,find :function( a,b,d,f,e, E){this.ma tchRange?( this.match Range.remo veHighligh t(),this.m atchRange= this.match Range.getN extCharact erRange(a. length)):t his.matchR ange=new u (new n(thi s.searchRa nge),a.len gth);for(v ar k=new z (a,!b),l=0 ,m="%";nul l!==m;){fo r(this.mat chRange.mo veNext();m =this.matc hRange.get EndCharact er();){l=k .feedChara cter(m);if (2==l)brea k;this.mat chRange.mo veNext().h itMatchBou ndary&&        
14   k.reset()} if(2==l){i f(d){var h =this.matc hRange.get Cursors(), p=h[h.leng th-1],h=h[ 0],g=c.cre ateRange() ;g.setStar tAt(c.edit able(),CKE DITOR.POSI TION_AFTER _START);g. setEnd(h.t extNode,h. offset);h= g;p=q(p);h .trim();p. trim();h=n ew n(h,!0) ;p=new n(p ,!0);if(!A (h.back(). character) ||!A(p.nex t().charac ter))conti nue}this.m atchRange. setMatched ();!1!==e& &this.matc hRange.hig hlight();r eturn!0}}t his.matchR ange.clear Matched(); this.match Range.remo veHighligh t();return  f&&!E?(th is.searchR ange=t(1), this.match Range=null ,        
15   arguments. callee.app ly(this,Ar ray.protot ype.slice. call(argum ents).conc at([!0]))) :!1},repla ceCounter: 0,replace: function(a ,b,d,f,e,g ,k){r=1;a= 0;if(this. matchRange &&this.mat chRange.is Matched()& &!this.mat chRange._. isReplaced &&!this.ma tchRange.i sReadOnly( )){this.ma tchRange.r emoveHighl ight();b=t his.matchR ange.toDom Range();d= c.document .createTex t(d);if(!k ){var l=c. getSelecti on();l.sel ectRanges( [b]);c.fir e("saveSna pshot")}b. deleteCont ents();b.i nsertNode( d);k||(l.s electRange s([b]),c.f ire("saveS napshot")) ;        
16   this.match Range.upda teFromDomR ange(b);k| |this.matc hRange.hig hlight();t his.matchR ange._.isR eplaced=!0 ;this.repl aceCounter ++;a=1}els e a=this.f ind(b,f,e, g,!k);r=0; return a}} ,f=c.lang. find;retur n{title:f. title,resi zable:CKED ITOR.DIALO G_RESIZE_N ONE,minWid th:350,min Height:170 ,buttons:[ CKEDITOR.d ialog.canc elButton(c ,{label:c. lang.commo n.close})] ,contents: [{id:"find ",label:f. find,title :f.find,ac cessKey:"" ,elements: [{type:"hb ox",widths :["230px", "90px"],ch ildren:[{t ype:"text" ,id:"txtFi ndFind",la bel:f.find What,        
17   isChanged: !1,labelLa yout:"hori zontal",ac cessKey:"F "},{type:" button",id :"btnFind" ,align:"le ft",style: "width:100 %",label:f .find,onCl ick:functi on(){var a =this.getD ialog();e. find(a.get ValueOf("f ind","txtF indFind"), a.getValue Of("find", "txtFindCa seChk"),a. getValueOf ("find","t xtFindWord Chk"),a.ge tValueOf(" find","txt FindCyclic "))||alert (f.notFoun dMsg)}}]}, {type:"fie ldset",lab el:CKEDITO R.tools.ht mlEncode(f .findOptio ns),style: "margin-to p:29px",ch ildren:[{t ype:"vbox" ,padding:0 ,children: [{type:"ch eckbox",id :"txtFindC aseChk",        
18   isChanged: !1,label:f .matchCase },{type:"c heckbox",i d:"txtFind WordChk",i sChanged:! 1,label:f. matchWord} ,{type:"ch eckbox",id :"txtFindC yclic",isC hanged:!1, "default": !0,label:f .matchCycl ic}]}]}]}, {id:"repla ce",label: f.replace, accessKey: "M",elemen ts:[{type: "hbox",wid ths:["230p x","90px"] ,children: [{type:"te xt",id:"tx tFindRepla ce",label: f.findWhat ,isChanged :!1,labelL ayout:"hor izontal",a ccessKey:" F"},{type: "button",i d:"btnFind Replace",a lign:"left ",style:"w idth:100%" ,label:f.r eplace,onC lick:funct ion(){var  a=        
19   this.getDi alog();e.r eplace(a,a .getValueO f("replace ","txtFind Replace"), a.getValue Of("replac e","txtRep lace"),a.g etValueOf( "replace", "txtReplac eCaseChk") ,a.getValu eOf("repla ce","txtRe placeWordC hk"),a.get ValueOf("r eplace","t xtReplaceC yclic"))|| alert(f.no tFoundMsg) }}]},{type :"hbox",wi dths:["230 px","90px" ],children :[{type:"t ext",id:"t xtReplace" ,label:f.r eplaceWith ,isChanged :!1,labelL ayout:"hor izontal",a ccessKey:" R"},{type: "button",i d:"btnRepl aceAll",al ign:"left" ,style:"wi dth:100%", label:f.re placeAll,i sChanged:! 1,        
20   onClick:fu nction(){v ar a=this. getDialog( );e.replac eCounter=0 ;e.searchR ange=t(1); e.matchRan ge&&(e.mat chRange.re moveHighli ght(),e.ma tchRange=n ull);for(c .fire("sav eSnapshot" );e.replac e(a,a.getV alueOf("re place","tx tFindRepla ce"),a.get ValueOf("r eplace","t xtReplace" ),a.getVal ueOf("repl ace","txtR eplaceCase Chk"),a.ge tValueOf(" replace"," txtReplace WordChk"), !1,!0););e .replaceCo unter?(ale rt(f.repla ceSuccessM sg.replace (/%1/,e.re placeCount er)),c.fir e("saveSna pshot")):a lert(f.not FoundMsg)} }]},{type: "fieldset" ,        
21   label:CKED ITOR.tools .htmlEncod e(f.findOp tions),chi ldren:[{ty pe:"vbox", padding:0, children:[ {type:"che ckbox",id: "txtReplac eCaseChk", isChanged: !1,label:f .matchCase },{type:"c heckbox",i d:"txtRepl aceWordChk ",isChange d:!1,label :f.matchWo rd},{type: "checkbox" ,id:"txtRe placeCycli c",isChang ed:!1,"def ault":!0,l abel:f.mat chCyclic}] }]}]}],onL oad:functi on(){var a =this,b,c= 0;this.on( "hide",fun ction(){c= 0});this.o n("show",f unction(){ c=1});this .selectPag e=CKEDITOR .tools.ove rride(this .selectPag e,function (f){return  function( e){f.call( a,        
22   e);var g=a ._.tabs[e] ,k;k="find "===e?"txt FindWordCh k":"txtRep laceWordCh k";b=a.get ContentEle ment(e,"fi nd"===e?"t xtFindFind ":"txtFind Replace"); a.getConte ntElement( e,k);g.ini tialized|| (CKEDITOR. document.g etById(b._ .inputId), g.initiali zed=!0);if (c){var l; e="find"== =e?1:0;var  g=1-e,m,h =v.length; for(m=0;m< h;m++)k=th is.getCont entElement (B[e],v[m] [e]),l=thi s.getConte ntElement( B[g],v[m][ g]),l.setV alue(k.get Value())}} })},onShow :function( ){e.search Range=t(); var a=this .getParent Editor().g etSelectio n().getSel ectedText( ),        
23   b=this.get ContentEle ment(g,"fi nd"==g?"tx tFindFind" :"txtFindR eplace");b .setValue( a);b.selec t();this.s electPage( g);this[(" find"==g&& this._.edi tor.readOn ly?"hide": "show")+"P age"]("rep lace")},on Hide:funct ion(){var  a;e.matchR ange&&e.ma tchRange.i sMatched() &&(e.match Range.remo veHighligh t(),c.focu s(),(a=e.m atchRange. toDomRange ())&&c.get Selection( ).selectRa nges([a])) ;delete e. matchRange },onFocus: function() {return"re place"==g? this.getCo ntentEleme nt("replac e","txtFin dReplace") :this.getC ontentElem ent("find" ,        
24   "txtFindFi nd")}}}var  r,y=funct ion(){retu rn{textNod e:this.tex tNode,offs et:this.of fset,chara cter:this. textNode?t his.textNo de.getText ().charAt( this.offse t):null,hi tMatchBoun dary:this. _.matchBou ndary}},B= ["find","r eplace"],v =[["txtFin dFind","tx tFindRepla ce"],["txt FindCaseCh k","txtRep laceCaseCh k"],["txtF indWordChk ","txtRepl aceWordChk "],["txtFi ndCyclic", "txtReplac eCyclic"]] ;CKEDITOR. dialog.add ("find",fu nction(c){ return q(c ,"find")}) ;CKEDITOR. dialog.add ("replace" ,function( c){return  q(c,"repla ce")})})() ;