Changeset 12022


Ignore:
Timestamp:
07/26/10 02:45:57 (19 months ago)
Author:
zenogantner
Message:

took the liberty to rename EmacsMode? plugin to Emacs, for consistency with class/file name and the Vi plugin; Emacs plugin currently does not work

Location:
trunk/Padre-Plugin-Emacs
Files:
2 deleted
3 edited
2 copied
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/Padre-Plugin-Emacs/Changes

    r9520 r12022  
    330.02  to be released 
    44    - Removed a warning on startup 
     5        - fixed inconsistent file naming: Padre/Plugin/EmacsMode.pm 
     6          -> Padre/Plugin/Emacs.pm (ZENOG) 
     7        - gettext-ified some strings (ZENOG) 
     8        - defined Padre interface versions (ZENOG) 
    59 
    6100.01  Thu Jan 15 17:02:23 2009 
  • trunk/Padre-Plugin-Emacs/MANIFEST

    r2811 r12022  
    33MANIFEST 
    44README 
    5 t/Padre-Plugin-EmacsMode.t 
    6 lib/Padre/Plugin/EmacsMode.pm 
     5t/Padre-Plugin-Emacs.t 
     6lib/Padre/Plugin/Emacs.pm 
  • trunk/Padre-Plugin-Emacs/Makefile.PL

    r3006 r12022  
    33# the contents of the Makefile that is written. 
    44WriteMakefile( 
    5     NAME              => 'Padre-Plugin-EmacsMode', 
    6     VERSION_FROM      => 'lib/Padre/Plugin/EmacsMode.pm', # finds $VERSION 
    7     PREREQ_PM         => { Padre => 0.25 }, # e.g., Module::Name => 1.1 
     5    NAME              => 'Padre-Plugin-Emacs', 
     6    VERSION_FROM      => 'lib/Padre/Plugin/Emacs.pm', # finds $VERSION 
     7    PREREQ_PM         => { Padre => 0.43 }, # e.g., Module::Name => 1.1 
    88    ($] >= 5.005 ?     ## Add these new keywords supported since 5.005 
    99       (AUTHOR         => 'Aaron Trevena <teejay@cpan.org>') : ()), 
  • trunk/Padre-Plugin-Emacs/lib/Padre/Plugin/Emacs.pm

    r9539 r12022  
    1414use strict; 
    1515use warnings; 
     16 
     17our $VERSION = '0.02'; 
     18 
    1619use Padre::Util; 
    17 use Padre::Plugin; 
    18  
    19 use base qw(Padre::Plugin); 
    20 our @ISA     = 'Padre::Plugin'; 
    21  
    22 our $VERSION = '0.18'; 
     20 
     21use base 'Padre::Plugin'; 
    2322 
    2423my %subs; 
     
    114113}; 
    115114 
     115sub padre_interfaces { 
     116    'Padre::Plugin'   => 0.43, 
     117    'Padre::Document' => 0.43, 
     118} 
     119 
    116120sub plugin_name { 
    117   return 'Emacs Mode for Padre'; 
     121  return Wx::gettext('Emacs Mode for Padre'); 
    118122} 
    119123 
     
    122126sub menu_plugins_simple { 
    123127  my $self = shift; 
    124   return 'Emacs Mode' => [ 
     128  return Wx::gettext('Emacs Mode') => [ 
    125129              About => sub { $self->show_about }, 
    126130              Commands => [ 
     
    135139 
    136140  my $about = Wx::AboutDialogInfo->new; 
    137   $about->SetName("Padre::Plugin::EmacsMode"); 
     141  $about->SetName("Padre::Plugin::Emacs"); 
    138142  $about->SetDescription( 
    139143             "Emacs Keybindings and stuff\n". 
    140              "Much todo here\n" 
     144             "Much TODO here\n" 
    141145            ); 
    142   $about->SetVersion($Padre::Plugin::EmacsMode::VERSION); 
     146  $about->SetVersion($Padre::Plugin::Emacs::VERSION); 
    143147  $about->SetCopyright(Wx::gettext("Copyright 2009 Aaron Trevena")); 
    144148 
     
    158162 
    159163  # behaviour rules (more to come) 
    160   $self->SetTabIndents(1); 
     164  # $self->SetTabIndents(1); 
    161165 
    162166  # get menu keys (FIXME:store them somewhere) 
  • trunk/Padre-Plugin-Emacs/t/Padre-Plugin-Emacs.t

    r2811 r12022  
    77 
    88use Test::More tests => 1; 
    9 BEGIN { use_ok('Padre::Plugin::EmacsMode') }; 
     9BEGIN { use_ok('Padre::Plugin::Emacs') }; 
    1010 
    1111######################### 
Note: See TracChangeset for help on using the changeset viewer.