editor: additional descriptive messages.

display a message when no text to be redoundo.
This commit is contained in:
ChunEon Park 2014-08-02 17:18:21 +09:00
parent e81058d2f8
commit 34919344e4
1 changed files with 6 additions and 1 deletions

View File

@ -878,7 +878,12 @@ edit_redoundo(edit_data *ed, Eina_Bool undo)
if (undo) lines = redoundo_undo(ed->rd, &changed);
else lines = redoundo_redo(ed->rd, &changed);
if (!changed) return;
if (!changed)
{
if (undo) stats_info_msg_update("No text to be undo.");
else stats_info_msg_update("No text to be redo.");
return;
}
if (undo) stats_info_msg_update("Undo text.");
else stats_info_msg_update("Redo text.");