Ticket #3259: 3259.patch
File 3259.patch, 2.2 KB (added by , 16 years ago) |
---|
-
_source/plugins/find/dialogs/find.js
516 516 var findResult = this.find( pattern, matchCase, matchWord, matchCyclic ); 517 517 if ( findResult && matchReplaceAll ) 518 518 this.replace.apply( this, Array.prototype.slice.call( arguments ) ); 519 else 520 editor.fire( 'saveSnapshot' ); 521 519 522 return matchReplaceAll ? 520 523 this.replaceCounter : replaceResult || findResult; 521 524 } -
_source/plugins/find/dialogs/find.js
652 652 onClick : function() 653 653 { 654 654 var dialog = this.getDialog(); 655 editor.fire( 'saveSnapshot' ); 655 656 if ( !finder.replace( dialog, 656 657 dialog.getValueOf( 'replace', 'txtFindReplace' ), 657 658 dialog.getValueOf( 'replace', 'txtReplace' ), … … 688 689 var dialog = this.getDialog(); 689 690 var replaceNums; 690 691 692 editor.fire( 'saveSnapshot' ); 691 693 finder.replaceCounter = 0; 692 694 if ( ( replaceNums = finder.replace( dialog, 693 695 dialog.getValueOf( 'replace', 'txtFindReplace' ), -
_source/plugins/find/dialogs/find.js
652 652 onClick : function() 653 653 { 654 654 var dialog = this.getDialog(); 655 editor.fire( 'saveSnapshot' ); 655 656 if ( !finder.replace( dialog, 656 657 dialog.getValueOf( 'replace', 'txtFindReplace' ), 657 658 dialog.getValueOf( 'replace', 'txtReplace' ), … … 688 689 var dialog = this.getDialog(); 689 690 var replaceNums; 690 691 692 editor.fire( 'saveSnapshot' ); 691 693 finder.replaceCounter = 0; 692 694 if ( ( replaceNums = finder.replace( dialog, 693 695 dialog.getValueOf( 'replace', 'txtFindReplace' ),