feedback: show a message also when trying to copy an empty region
parent
ce9cfdaa45
commit
958e3ec201
|
@ -541,8 +541,10 @@ void copy_marked_region(void)
|
||||||
openfile->mark = NULL;
|
openfile->mark = NULL;
|
||||||
refresh_needed = TRUE;
|
refresh_needed = TRUE;
|
||||||
|
|
||||||
if (topline == botline && top_x == bot_x)
|
if (topline == botline && top_x == bot_x) {
|
||||||
|
statusbar(_("Copied nothing"));
|
||||||
return;
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
/* Make the area that was marked look like a separate buffer. */
|
/* Make the area that was marked look like a separate buffer. */
|
||||||
afterline = botline->next;
|
afterline = botline->next;
|
||||||
|
|
Loading…
Reference in New Issue