Padre::Wx::Dialog::Find(3pm)

Padre::Wx::Dialog::Find3pm

Find widget

Overview

"Padre::Wx::Dialog::Find" implements Padre's Find dialogs.

Methods

new

  my $find = Padre::Wx::Dialog::Find->new($main)

Create and return a "Padre::Wx::Dialog::Find" search widget.

find

  $self->find

Grab currently selected text, if any, and place it in find combo box. Bring up the dialog or perform search for string's next occurrence if dialog is already displayed.

TO DO: if selection is more than one line then consider it as the limit of the search and not as the string to be used.

find_button

  $self->find_button

Executed when Find button is clicked.

Performs search on the term specified in the dialog.

cancel_button

  $self->cancel_button

Hide dialog when pressed cancel button.

count_button

  $self->findall_button

Find all lines with matching text and display in a list.

as_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.

From padre 0.63.ds1-1 in Debian 6.0 (Squeeze). Parsed by carta from the page's man source.