Ejemplo n.º 1
0
        public FindAndReplacePresenter(NbiTextEditor editor)
        {
            this.FindCommand       = new FindCommand(this, editor);
            this.CancelFindCommand = new CancelFindCommand(editor);
            this.ReplaceCommand    = new ReplaceCommand(this, editor);
            this.ReplaceAllCommand = new ReplaceAllCommand(this, editor);

            this.TextToFind    = string.Empty;
            this.TextToReplace = string.Empty;
            this.MatchWord     = false;
            this.CaseSensitive = false;
        }
Ejemplo n.º 2
0
 public ReplaceCommand(FindAndReplacePresenter presenter, NbiTextEditor editor)
 {
     this.presenter = presenter;
     this.editor    = editor;
 }
Ejemplo n.º 3
0
 public FindAndReplaceCommand(NbiTextEditor editor)
 {
     this.editor = editor;
 }
Ejemplo n.º 4
0
 public CancelFindCommand(NbiTextEditor editor)
 {
     this.editor = editor;
 }