Allowing the Backwards toggle to be rebound,
documenting it, ánd the Backspace function. git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4837 35c25a1d-7b9e-4130-9fde-d3aeb78583b8master
parent
8056390fff
commit
0846583a2c
|
@ -6,6 +6,8 @@
|
||||||
of titlecolor, statuscolor, keycolor and functioncolor.
|
of titlecolor, statuscolor, keycolor and functioncolor.
|
||||||
* doc/man/nanorc.5, doc/texinfo/nano.tex: Show quotes where quotes
|
* doc/man/nanorc.5, doc/texinfo/nano.tex: Show quotes where quotes
|
||||||
are needed, remove some unneeded spaces, and do other tweaks.
|
are needed, remove some unneeded spaces, and do other tweaks.
|
||||||
|
* src/global.c (strtosc), doc/man/nanorc.5: Allow the Backwards
|
||||||
|
toggle to be rebound, document it, and document Backspace too.
|
||||||
|
|
||||||
2014-05-03 Benno Schulenberg <bensberg@justemail.net>
|
2014-05-03 Benno Schulenberg <bensberg@justemail.net>
|
||||||
* src/*.h, src/*.c: Add the ability to colour four elements of
|
* src/*.h, src/*.c: Add the ability to colour four elements of
|
||||||
|
|
|
@ -475,6 +475,9 @@ Insert a new line below the current one.
|
||||||
.B delete
|
.B delete
|
||||||
Delete the character under the cursor.
|
Delete the character under the cursor.
|
||||||
.TP
|
.TP
|
||||||
|
.B backspace
|
||||||
|
Delete the character before the cursor.
|
||||||
|
.TP
|
||||||
.B undo
|
.B undo
|
||||||
Undo the text action peformed (add text, delete text, etc).
|
Undo the text action peformed (add text, delete text, etc).
|
||||||
.TP
|
.TP
|
||||||
|
@ -494,6 +497,9 @@ Toggle case sensitivity in searching (search/replace menus only).
|
||||||
.B regexp
|
.B regexp
|
||||||
Toggle whether searching/replacing is based on literal strings or regular expressions.
|
Toggle whether searching/replacing is based on literal strings or regular expressions.
|
||||||
.TP
|
.TP
|
||||||
|
.B backwards
|
||||||
|
Toggle whether searching/replacing goes forward or backward.
|
||||||
|
.TP
|
||||||
.B prevhistory
|
.B prevhistory
|
||||||
Show the previous history entry in the prompt menus (e.g. search).
|
Show the previous history entry in the prompt menus (e.g. search).
|
||||||
.TP
|
.TP
|
||||||
|
|
|
@ -1451,6 +1451,9 @@ sc *strtosc(char *input)
|
||||||
!strcasecmp(input, "regex")) {
|
!strcasecmp(input, "regex")) {
|
||||||
s->scfunc = regexp_void;
|
s->scfunc = regexp_void;
|
||||||
s->execute = FALSE;
|
s->execute = FALSE;
|
||||||
|
} else if (!strcasecmp(input, "backwards") {
|
||||||
|
s->scfunc = backwards_void;
|
||||||
|
s->execute = FALSE;
|
||||||
} else if (!strcasecmp(input, "dontreplace")) {
|
} else if (!strcasecmp(input, "dontreplace")) {
|
||||||
s->scfunc = no_replace_void;
|
s->scfunc = no_replace_void;
|
||||||
s->execute = FALSE;
|
s->execute = FALSE;
|
||||||
|
|
Loading…
Reference in New Issue