Padre::Wx::Dialog::Replace - Find and Replace Widget
Padre::Wx:Main implements Padre's Find and Replace dialog box.
Padre::Wx:Main
my $find = Padre::Wx::Dialog::Replace->new($main);
Create and return a Padre::Wx::Dialog::Replace search and replace widget.
Padre::Wx::Dialog::Replace
$self->find
Grab currently selected text, if any, and place it in find combo box. Bring up the dialog or perform search for strings' next occurence if dialog is already displayed.
TODO: if selection is more than one line then consider it as the limit of the search and not as the string to be used.
$self->find_button
Executed when Find button is clicked.
Performs search on the term specified in the dialog.
$self->cancel_button
Hide dialog when pressed cancel button.
$self->replace_button;
Executed when the Replace button is clicked.
Replaces one appearance of the Find Text with the Replace Text.
If search window is still open, run search on the whole text, again.
search
Integration with Padre::Search. Generates a search instance for the currently configured information in the Find dialog.
Returns a Padre::Search object, or undef if current state of the dialog does not result in a valid search.
undef
Copyright 2008-2009 The Padre development team as listed in Padre.pm.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
The full text of the license can be found in the LICENSE file included with this module.
To install Padre, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Padre
CPAN shell
perl -MCPAN -e shell install Padre
For more information on module installation, please visit the detailed CPAN module installation guide.