Kephra
view release on metacpan or search on metacpan
document state under (given in dialog) file name, but keep association
with old file name), "Quit" (close Kephra) (Ctrl+Q), "No Ask Quit"
(disregard unsaved files) (Ctrl+Shift+Q)
Edit
Basic editing as expected: "undo" (Ctrl+Z), redo (Ctrl+Y), if you add
*Shift* here, you will go several undo steps at once. *Alt* instead of
*Ctrl* moves you to start or end of the undo chain.
Core functions: "cut" (Ctrl+X) removes the selected text or the current
line (if nothing is selected) and copies it into the clipboard. Same is
true for "copy" (Ctrl+C), which only copies without removing anything.
"Paste" (Ctrl+V) inserts the copied text on the position of the caret
(cursor). "Swap" (Ctrl+Shift+V) streamlines the copy and paste process a
bit by replacing the selection with the old clipboard content, while
copying the selection or current line. "Delete" (Del) only removes the
selection or character on the caret position. "Duplicate" (Ctrl+D)
copies and paste's the selected text or current line, without affecting
the clipboard.
More advanced is (Ctrl+A), which "grows selection" from word to
expression to line, block, sub until all is selected and "shrink
selection" is just the opposite (Ctrl+Shift+A).
Format
Holding Alt moves the selected or current line up or down. Left and
right indent and dedents char wise in this mode. Normal indent/dedent
listens to Tab and Shift+Tab.
lib/Kephra.pm view on Meta::CPAN
file name, but keep association with old file name),
C<Quit> (close Kephra) (Ctrl+Q), C<No Ask Quit> (disregard unsaved files) (Ctrl+Shift+Q)
=head2 Edit
Basic editing as expected: C<undo> (Ctrl+Z), redo (Ctrl+Y), if you add I<Shift>
here, you will go several undo steps at once. I<Alt> instead of I<Ctrl> moves
you to start or end of the undo chain.
Core functions: C<cut> (Ctrl+X) removes the selected text or the current line
(if nothing is selected) and copies it into the clipboard.
Same is true for C<copy> (Ctrl+C), which only copies without removing anything.
C<Paste> (Ctrl+V) inserts the copied text on the position of the caret (cursor).
C<Swap> (Ctrl+Shift+V) streamlines the copy and paste process a bit by replacing
the selection with the old clipboard content, while copying the selection or current line.
C<Delete> (Del) only removes the selection or character on the caret position.
C<Duplicate> (Ctrl+D) copies and paste's the selected text or current line,
without affecting the clipboard.
More advanced is (Ctrl+A), which C<grows selection> from word to expression to line,
block, sub until all is selected and C<shrink selection> is just the opposite (Ctrl+Shift+A).
=head2 Format
Holding Alt moves the selected or current line up or down. Left and right
indent and dedents char wise in this mode. Normal indent/dedent listens
to Tab and Shift+Tab.
lib/Kephra/App/Window/Menu.pm view on Meta::CPAN
$file_menu->Append( 11910, "No Ask Qui&t\tCtrl+Shift+Q", "close program without file dialog" );
my $edit_menu = Wx::Menu->new();
$edit_menu->Append( 12110, "&Undo\tCtrl+Z", "undo last text change" );
$edit_menu->Append( 12120, "&Redo\tCtrl+Y", "undo last undo" );
$edit_menu->Append( 12130, "&fast Undo\tCtrl+Shift+Z", "undo last five changes" );
$edit_menu->Append( 12140, "f&ast Redo\tCtrl+Shift+Y", "undo last five undo" );
$edit_menu->Append( 12150, "&total Undo\tAlt+Shift+Z", "undo all changes" );
$edit_menu->Append( 12160, "t&otal Redo\tAlt+Shift+Y", "redo all changes" );
$edit_menu->AppendSeparator();
$edit_menu->Append( 12200, "&Cut\tCtrl+X", "delete selected text and move it into clipboard" );
$edit_menu->Append( 12210, "Cop&y\tCtrl+C", "move selected text into clipboard" );
$edit_menu->Append( 12220, "&Paste\tCtrl+V", "insert clipboard content at cursor position" );
$edit_menu->Append( 12230, "S&wap\tCtrl+Shift+V", "replace selected text with clipboard content" );
$edit_menu->Append( 12240, "De&lete\tDel", "delete selected text" );
$edit_menu->Append( 12310, "Del&ete Row\tAlt+Del", "delete row of caret location" );
$edit_menu->AppendSeparator();
$edit_menu->Append( 12410, "&Grow Selection\tCtrl+A", "select entire text" );
$edit_menu->Append( 12420, "&Shrink Selection\tCtrl+Shift+A", "select entire text" );
$edit_menu->AppendSeparator();
$edit_menu->Append( 12510, "&Duplicate\tCtrl+D", "copy and paste selected text or current line" );
my $format_menu = Wx::Menu->new();
$format_menu->Append( 13100, "Move &Left\tAlt+Left", "move current line or selected lines one character to the left" );
( run in 1.551 second using v1.01-cache-2.11-cpan-81fc1098f69 )