Revision: | 1.7 |
Committed: | Tue Jan 3 19:42:53 2006 UTC (18 years, 4 months ago) by root |
Branch: | MAIN |
Changes since 1.6: | +4 -3 lines |
Log Message: | *** empty log message *** |
# | User | Rev | Content |
---|---|---|---|
1 | root | 1.4 | #! perl |
2 | |||
3 | elmex | 1.1 | sub on_keyboard_command { |
4 | root | 1.7 | my ($self, $cmd) = @_; |
5 | elmex | 1.2 | |
6 | $cmd eq "selection:rot13" | ||
7 | root | 1.7 | and $self->selection (map { y/A-Za-z/N-ZA-Mn-za-m/; $_ } $self->selection); |
8 | elmex | 1.3 | |
9 | () | ||
10 | elmex | 1.1 | } |
11 | root | 1.5 | |
12 | root | 1.6 | sub on_sel_extend { |
13 | root | 1.7 | my ($self) = @_; |
14 | warn $self->selection; | ||
15 | root | 1.5 | () |
16 | } |