From 70a765e387ee556afc6ab11e3282cfd2063459af Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Tue, 10 Mar 2020 15:58:30 +0100 Subject: [PATCH] feedback: give a clearer message when trying to justify an empty region Also, increase the level of the message, as trying to justify an empty selection is a user error. --- src/text.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/text.c b/src/text.c index 7c368748..d7689936 100644 --- a/src/text.c +++ b/src/text.c @@ -1759,7 +1759,7 @@ void do_justify(bool full_justify) /* When the marked region is empty, do nothing. */ if (startline == endline && start_x == end_x) { - statusline(NOTICE, _("Nothing changed")); + statusline(ALERT, _("Selection is empty")); discard_until(openfile->undotop->next); return; }