in do_input(), don't blow away the cutbuffer when the shortcut we get is
do_cut_till_end() git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3539 35c25a1d-7b9e-4130-9fde-d3aeb78583b8master
parent
124978a5bc
commit
83635c2155
|
@ -199,6 +199,10 @@ CVS code -
|
||||||
do_yesno_prompt()
|
do_yesno_prompt()
|
||||||
- Handle the keys in a switch statement instead of a long if
|
- Handle the keys in a switch statement instead of a long if
|
||||||
block, for simplicity. (DLR)
|
block, for simplicity. (DLR)
|
||||||
|
- nano.c:
|
||||||
|
do_input()
|
||||||
|
- Don't blow away the cutbuffer when the shortcut we get is
|
||||||
|
do_cut_till_end(). (DLR)
|
||||||
- rcfile.c:
|
- rcfile.c:
|
||||||
parse_argument()
|
parse_argument()
|
||||||
- Rename variable ptr_bak to ptr_save, for consistency. (DLR)
|
- Rename variable ptr_bak to ptr_save, for consistency. (DLR)
|
||||||
|
|
|
@ -1363,7 +1363,8 @@ int do_input(bool *meta_key, bool *func_key, bool *s_or_t, bool
|
||||||
* cutting or copying text. */
|
* cutting or copying text. */
|
||||||
if (s->func != do_cut_text_void
|
if (s->func != do_cut_text_void
|
||||||
#ifndef NANO_TINY
|
#ifndef NANO_TINY
|
||||||
&& s->func != do_copy_text
|
&& s->func != do_copy_text && s->func !=
|
||||||
|
do_cut_till_end
|
||||||
#endif
|
#endif
|
||||||
)
|
)
|
||||||
cutbuffer_reset();
|
cutbuffer_reset();
|
||||||
|
|
Loading…
Reference in New Issue