diff --git a/BUGS b/BUGS index 4a9d3f80..fe0eb1cb 100644 --- a/BUGS +++ b/BUGS @@ -32,6 +32,7 @@ is made to the buffer, and a write is attempted, nano will not give you a dialog about not being able to write the file, and it will not let the user exit (29, discovered by Joshua Jensen) [FIXED] +- Using nano -k, marked text is not cut properly. (31) [FIXED] ** Open BUGS ** @@ -49,4 +50,4 @@ - totsize becomes incorrect after word-wrapping (25) - 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) diff --git a/cut.c b/cut.c index 76bcf024..02a4762a 100644 --- a/cut.c +++ b/cut.c @@ -149,7 +149,7 @@ int do_cut_text(void) #endif } #ifndef NANO_SMALL - if (ISSET(CUT_TO_END)) { + if (ISSET(CUT_TO_END) && !ISSET(MARK_ISSET)) { SET(MARK_ISSET); mark_beginbuf = current; mark_beginx = strlen(current->data); diff --git a/po/nano.pot b/po/nano.pot index 751758e6..1eb51aff 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-24 11:21-0400\n" +"POT-Creation-Date: 2000-07-24 14:32-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n"