help, docs: say "Delete" when things don't go into the cutbuffer

Reported-by: Božidar Putanec <bozidarp@yahoo.com>
master
Benno Schulenberg 2019-02-24 11:00:06 +01:00
parent 7fcf6e6068
commit df4d181987
3 changed files with 6 additions and 6 deletions

View File

@ -1184,13 +1184,13 @@ Throws away the current line (or the marked region).
(This function is bound by default to <Meta+Delete>.) (This function is bound by default to <Meta+Delete>.)
@item cutwordleft @item cutwordleft
Cuts from the cursor position to the beginning of the preceding word. Deletes from the cursor position to the beginning of the preceding word.
(This function is not bound by default. If your terminal produces (This function is not bound by default. If your terminal produces
@code{^H} for <Ctrl+Backspace>, you can make <Ctrl+Backspace> delete @code{^H} for <Ctrl+Backspace>, you can make <Ctrl+Backspace> delete
the word to the left of the cursor by rebinding ^H to this function.) the word to the left of the cursor by rebinding ^H to this function.)
@item cutwordright @item cutwordright
Cuts from the cursor position to the beginning of the next word. Deletes from the cursor position to the beginning of the next word.
(This function is bound by default to <Ctrl+Delete>.) (This function is bound by default to <Ctrl+Delete>.)
@item cutrestoffile @item cutrestoffile

View File

@ -525,13 +525,13 @@ Throws away the current line (or the marked region).
(This function is bound by default to <Meta+Delete>.) (This function is bound by default to <Meta+Delete>.)
.TP .TP
.B cutwordleft .B cutwordleft
Cuts from the cursor position to the beginning of the preceding word. Deletes from the cursor position to the beginning of the preceding word.
(This function is not bound by default. If your terminal produces (This function is not bound by default. If your terminal produces
\fB^H\fR for <Ctrl+Backspace>, you can make <Ctrl+Backspace> delete \fB^H\fR for <Ctrl+Backspace>, you can make <Ctrl+Backspace> delete
the word to the left of the cursor by rebinding ^H to this function.) the word to the left of the cursor by rebinding ^H to this function.)
.TP .TP
.B cutwordright .B cutwordright
Cuts from the cursor position to the beginning of the next word. Deletes from the cursor position to the beginning of the next word.
(This function is bound by default to <Ctrl+Delete>.) (This function is bound by default to <Ctrl+Delete>.)
.TP .TP
.B cutrestoffile .B cutrestoffile

View File

@ -612,9 +612,9 @@ void shortcut_init(void)
N_("Delete the character to the left of the cursor"); N_("Delete the character to the left of the cursor");
#ifndef NANO_TINY #ifndef NANO_TINY
const char *cutwordleft_gist = const char *cutwordleft_gist =
N_("Cut backward from cursor to word start"); N_("Delete backward from cursor to word start");
const char *cutwordright_gist = const char *cutwordright_gist =
N_("Cut forward from cursor to next word start"); N_("Delete forward from cursor to next word start");
const char *cuttilleof_gist = const char *cuttilleof_gist =
N_("Cut from the cursor position to the end of the file"); N_("Cut from the cursor position to the end of the file");
#endif #endif