From: Chris Allegretta Date: Thu, 27 Jul 2000 04:31:52 +0000 (+0000) Subject: Updated BUGS X-Git-Tag: v0.9.14~5 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=1013e14a87049c545fdb78478d14de254c1da765;p=nano.git Updated BUGS git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@131 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- diff --git a/BUGS b/BUGS index 0d5eca01..2e0b1965 100644 --- a/BUGS +++ b/BUGS @@ -52,4 +52,5 @@ - In search/replace code there is too much refreshing in bottomwin (26) - In replace, there is no way to accept the default replace string. (27) - Using nano -t, user can not exit until a filename is given via ^O. (30) -- totsize problems still abound in do_justify (31) +- totsize problems still abound in do_justify (33) +- Using -k cut text is not pasted properly. (34) diff --git a/cut.c b/cut.c index 87c1b44b..290309a1 100644 --- a/cut.c +++ b/cut.c @@ -56,7 +56,6 @@ void add_to_cutbuffer(filestruct * inptr) inptr->next = NULL; cutbottom = inptr; - dump_buffer(cutbuffer); } #ifndef NANO_SMALL @@ -159,6 +158,7 @@ int do_cut_text(void) cutbuffer, not delete it and forget about it. */ do_delete(); SET(KEEP_CUTBUFFER); + marked_cut = 2; return 1; } else @@ -212,6 +212,7 @@ int do_cut_text(void) edit_refresh(); else edit_update(current); + return 1; #else if (0) { @@ -298,7 +299,7 @@ int do_uncut_text(void) /* Hook newbuf into fileptr */ #ifndef NANO_SMALL - if (marked_cut == 1) { + if (marked_cut) { /* If there's only one line in the cutbuffer */ if (cutbuffer->next == NULL) { tmpstr = diff --git a/po/nano.pot b/po/nano.pot index 82a3128d..5dafffd2 100644 --- a/po/nano.pot +++ b/po/nano.pot @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" -"POT-Creation-Date: 2000-07-26 23:51-0400\n" +"POT-Creation-Date: 2000-07-27 00:27-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -19,7 +19,7 @@ msgstr "" msgid "add_to_cutbuffer called with inptr->data = %s\n" msgstr "" -#: cut.c:150 +#: cut.c:149 msgid "Blew away cutbuffer =)\n" msgstr ""