Changeset 832
- Timestamp:
- 11/09/08 01:17:06 (3 years ago)
- Location:
- trunk/lib
- Files:
-
- 2 edited
-
Padre.pm (modified) (1 diff)
-
Padre/Wx/Menu.pm (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/Padre.pm
r821 r832 301 301 302 302 See also L<Padre::PluginManager> and L<Padre::PluginBuilder> 303 304 =head1 Editing tools 305 306 =head2 Case Changes 307 308 Change the case of the selected text or if there 309 is no selection all the text in the current file. 310 311 Change all characters to upper or lower case 312 313 Change the first character ot every word to upper/lower 314 case leaving the rest as they were. 315 316 =head2 Tab and space conversion 317 318 Tab to Space and Space to Tab conversions ask the number of spaces 319 each tab should substitute. It currently works everywhere. 320 We probably should add a mode to operate only at the beginning of 321 the lines or better yet only at the indentation levels. 322 323 Delete All Ending space does just what it sais. 324 325 Delete Leading Space will ask How many leading spaces and act accordingly. 303 326 304 327 -
trunk/lib/Padre/Wx/Menu.pm
r829 r832 221 221 $menu->{edit}->Append( -1, gettext("Tab and Space"), $menu->{edit_tab} ); 222 222 Wx::Event::EVT_MENU( $win, 223 $menu->{edit_tab}->Append( -1, gettext("Tab to Space ") ),223 $menu->{edit_tab}->Append( -1, gettext("Tab to Space...") ), 224 224 sub { $_[0]->on_tab_and_space('Tab_to_Space') }, 225 225 ); 226 226 Wx::Event::EVT_MENU( $win, 227 $menu->{edit_tab}->Append( -1, gettext("Space to Tab ") ),227 $menu->{edit_tab}->Append( -1, gettext("Space to Tab...") ), 228 228 sub { $_[0]->on_tab_and_space('Space_to_Tab') }, 229 229 ); 230 230 Wx::Event::EVT_MENU( $win, 231 $menu->{edit_tab}->Append( -1, gettext("Delete Ending Space") ),231 $menu->{edit_tab}->Append( -1, gettext("Delete All Ending Space") ), 232 232 sub { $_[0]->on_delete_ending_space() }, 233 233 ); 234 234 Wx::Event::EVT_MENU( $win, 235 $menu->{edit_tab}->Append( -1, gettext("Delete Leading Space ") ),235 $menu->{edit_tab}->Append( -1, gettext("Delete Leading Space...") ), 236 236 sub { $_[0]->on_delete_leading_space() }, 237 237 );
Note: See TracChangeset
for help on using the changeset viewer.
