1Padre::Wx::Dialog::ReplUasceer(3C)ontributed Perl DocumePnatdartei:o:nWx::Dialog::Replace(3)
2
3
4

NAME

6       Padre::Wx::Dialog::Replace - Find and Replace Widget
7

DESCRIPTION

9       "Padre::Wx:Main" implements Padre's Find and Replace dialog box.
10

METHODS

12   new
13         my $find = Padre::Wx::Dialog::Replace->new($main);
14
15       Create and return a "Padre::Wx::Dialog::Replace" search and replace
16       widget.
17
18   find
19         $self->find
20
21       Grab currently selected text, if any, and place it in find combo box.
22       Bring up the dialog or perform search for string's next occurrence if
23       dialog is already displayed.
24
25       TO DO: if selection is more than one line then consider it as the limit
26       of the search and not as the string to be used.
27
28   find_button
29         $self->find_button
30
31       Executed when Find button is clicked.
32
33       Performs search on the term specified in the dialog.
34
35   close
36         $self->close
37
38       Hide dialog.
39
40   replace_button
41         $self->replace_button;
42
43       Executed when the Replace button is clicked.
44
45       Replaces one appearance of the Find Text with the Replace Text.
46
47       If search window is still open, run "search" on the whole text, again.
48
49   replace_all
50         $self->replace_all;
51
52       Executed when Replace All button is clicked.
53
54       Replace all appearances of given string in the current document.
55
56   as_search
57       Integration with Padre::Search. Generates a search instance for the
58       currently configured information in the Find dialog.
59
60       Returns a Padre::Search object, or "undef" if current state of the
61       dialog does not result in a valid search.
62
64       Copyright 2008-2011 The Padre development team as listed in Padre.pm.
65       This program is free software; you can redistribute it and/or modify it
66       under the same terms as Perl itself.  The full text of the license can
67       be found in the LICENSE file included with this module.
68
69
70
71perl v5.28.0                      2011-08-16     Padre::Wx::Dialog::Replace(3)
Impressum