ec
view release on metacpan or search on metacpan
[
[command=>'Bcc:', -command=>sub{insertfield($t,$bccfield)}],
[command=>'Cc:', -command=>sub{insertfield($t,$ccfield)}],
[command=>'Fcc:', -command=>sub{insertfield($t,$fccfield)}],
[command=>'Reply-To:', -command=>sub{insertfield($t,$replytofield)}],
]
}
sub standard_keybindings {
my ($w) = @_;
$w->bind ('<Alt-c>',sub{$w -> Subwidget ('text') -> clipboardCopy});
$w->bind ('<Alt-x>',sub{$w -> Subwidget ('text') -> clipboardCut});
$w->bind ('<Alt-v>',sub{$w -> Subwidget ('text') -> clipboardPaste});
$w->bind ('<Alt-u>',sub{$w -> Subwidget ('text') -> undo});
$w->bind ('<Alt-i>',sub{InsertFileDialog ($w)});
$w->bind ('<Alt-w>',sub{$w -> WmDeleteWindow});
$w->bind ('<Alt-z>',sub{$w -> toplevel -> iconify});
$w->bind ('<Alt-a>',sub{selectallmessages ($w)});
return $w;
}
sub insertfield {
my ($t, $field) = @_;
}
sub EditMenuItems {
my ($m,$w) = @_;
$m -> add ('command', -label => 'Undo',
-state => 'normal',
-accelerator => 'Alt-U',
-command => sub{$w -> undo});
$m -> add ('separator');
$m -> add ('command', -label => 'Cut', -state => 'normal',
-accelerator => 'Alt-X', -command => sub{$w -> clipboardCut});
$m -> add ('command', -label => 'Copy', -accelerator => 'Alt-C',
-state => 'normal',-command => sub{$w -> clipboardCopy});
$m -> add ('command', -label => 'Paste', -accelerator => 'Alt-V',
-state => 'normal', -command => sub{$w -> clipboardPaste});
$m -> add ('command', -label => 'Select All',
-accelerator => 'Ctrl-/', -state => 'normal',
-command => sub{$w -> selectAll});
}
sub show_warn_dialog {
my $mw = shift;
my $ref = shift;
if (not defined $ref) {
$ref = $mw -> ECWarning (@_);
The I<Attachments - Attach File...> option in the compose window
opens a window to select files. I<Attachments - Remove Attachment>
displays a submenu of the message's file attachments. Refer to the
section, "File Attachments," below.
There are a number of options for quoting messages when composing a
reply. Refer to the F<.ecconfig> file for information about these
options.
Ec also uses the X clipboard to cut and paste between windows in ec as
well as windows in other applications. For programs that do not have
I<Cut>, I<Copy>, or I<Paste> menu options, select text in the source
application's window by holding down the left mouse button and
dragging it across the text to highlight it, then changing to the
destination window and pressing the middle mouse button (or the left
and right buttons simultaneously on mice with only two buttons).
=head2 Sorting Messages
You can select whether to sort messages by Date (the default), the
lib/EC/ec.help view on Meta::CPAN
The "File -> Attachments" function opens a dialog window to save
attachments to disk in the main window. When you select "File ->
Attachments" in the composer window, the dialog allows you to select
files that will be attached to the outgoing message. Refer also to
the section, "File Attachments," below.
There are a number of options for quoting original messages when
composing a reply. Refer to the .ecconfig file for information about
these options.
EC also uses the X clipboard, so you can cut and paste between
windows in EC as well as other applications. If a program does not
have "Cut," "Copy," or "Paste" menu options, you can select text in
the original application by holding down the left mouse button and
dragging it across the text to highlight it, then changing to the
destination text window, and pressing the middle mouse button (or
the left and right buttons simultaneously on mice with only two
buttons).
Sorting Messages
You can select whether to sort messages by Date (the default), the
( run in 0.654 second using v1.01-cache-2.11-cpan-84e82930d8c )