Changeset 2269
- Timestamp:
- 12/30/08 01:10:26 (3 years ago)
- Location:
- trunk/Padre/lib/Padre/Wx/Menu
- Files:
-
- 2 edited
-
Edit.pm (modified) (1 diff)
-
Experimental.pm (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Padre/lib/Padre/Wx/Menu/Edit.pm
r2184 r2269 172 172 }, 173 173 ); 174 175 $self->AppendSeparator; 176 177 # Quick Find: Press F3 to start search with selected text 178 $self->{quick_find} = $self->AppendCheckItem( -1, 179 Wx::gettext("Quick Find") 180 ); 181 Wx::Event::EVT_MENU( $main, 182 $self->{quick_find}, 183 sub { 184 Padre->ide->config->{is_quick_find} = $_[1]->IsChecked ? 1 : 0; 185 return; 186 }, 187 ); 188 189 # Incremental find (#60) 190 Wx::Event::EVT_MENU( $main, 191 $self->Append( -1, Wx::gettext("Find Next\tF4") ), 192 sub { 193 $_[0]->find->search('next'); 194 }, 195 ); 196 Wx::Event::EVT_MENU( $main, 197 $self->Append( -1, Wx::gettext("Find Previous\tShift-F4") ), 198 sub { 199 $_[0]->find->search('previous'); 200 } 201 ); 202 203 $self->AppendSeparator; 174 204 175 205 Wx::Event::EVT_MENU( $main, -
trunk/Padre/lib/Padre/Wx/Menu/Experimental.pm
r2184 r2269 115 115 ); 116 116 117 $self->AppendSeparator;118 119 # Quick Find: Press F3 to start search with selected text120 $self->{quick_find} = $self->AppendCheckItem( -1,121 Wx::gettext("Quick Find")122 );123 Wx::Event::EVT_MENU( $main,124 $self->{quick_find},125 sub {126 Padre->ide->config->{is_quick_find} = $_[1]->IsChecked ? 1 : 0;127 return;128 },129 );130 131 # Incremental find (#60)132 Wx::Event::EVT_MENU( $main,133 $self->Append( -1, Wx::gettext("Find Next\tF4") ),134 sub {135 $_[0]->find->search('next');136 },137 );138 Wx::Event::EVT_MENU( $main,139 $self->Append( -1, Wx::gettext("Find Previous\tShift-F4") ),140 sub {141 $_[0]->find->search('previous');142 }143 );144 145 117 return $self; 146 118 }
Note: See TracChangeset
for help on using the changeset viewer.
