- nano.c: - Added the #ifdefs around do_prev_word the code in main()
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@870 35c25a1d-7b9e-4130-9fde-d3aeb78583b8master
parent
e7ee63f271
commit
abf22a8fb2
|
@ -33,7 +33,8 @@ CVS code -
|
||||||
- New function do_prev_word, similar to do_next_word. Hard coded as
|
- New function do_prev_word, similar to do_next_word. Hard coded as
|
||||||
Alt-space, as next word is hard coded as control-space. Fixed
|
Alt-space, as next word is hard coded as control-space. Fixed
|
||||||
goofy logic setting x pos to value of last line when hitting the
|
goofy logic setting x pos to value of last line when hitting the
|
||||||
beginning of first line, prog should simply abort.
|
beginning of first line, prog should simply abort. Added
|
||||||
|
the #ifdefs around the code in main().
|
||||||
- rcfile.c:
|
- rcfile.c:
|
||||||
- Fix incorrect number of rc options (David Lawrence Ramsey).
|
- Fix incorrect number of rc options (David Lawrence Ramsey).
|
||||||
- po/sv.po:
|
- po/sv.po:
|
||||||
|
|
2
nano.c
2
nano.c
|
@ -2954,11 +2954,13 @@ int main(int argc, char *argv[])
|
||||||
modify_control_seq = 1;
|
modify_control_seq = 1;
|
||||||
keyhandled = 1;
|
keyhandled = 1;
|
||||||
break;
|
break;
|
||||||
|
#ifndef NANO_SMALL
|
||||||
case ' ':
|
case ' ':
|
||||||
/* If control-space is next word, Alt-space should be previous word */
|
/* If control-space is next word, Alt-space should be previous word */
|
||||||
do_prev_word();
|
do_prev_word();
|
||||||
keyhandled = 1;
|
keyhandled = 1;
|
||||||
break;
|
break;
|
||||||
|
#endif
|
||||||
case '[':
|
case '[':
|
||||||
switch (kbinput = wgetch(edit)) {
|
switch (kbinput = wgetch(edit)) {
|
||||||
case '1': /* Alt-[-1-[0-5,7-9] = F1-F8 in X at least */
|
case '1': /* Alt-[-1-[0-5,7-9] = F1-F8 in X at least */
|
||||||
|
|
Loading…
Reference in New Issue