From 1492ad3c81eb959dacb71722a999712b46b5014f Mon Sep 17 00:00:00 2001 From: Ivica Ico Bukvic <ico@vt.edu> Date: Wed, 14 Dec 2011 21:14:44 -0500 Subject: [PATCH] added comments that suggest UCUT_TEXT is now obsolete and replaced by a much better undo_recreate (action 10). --- src/g_editor.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/g_editor.c b/src/g_editor.c index 7b348087b..9eecaa7af 100644 --- a/src/g_editor.c +++ b/src/g_editor.c @@ -601,6 +601,9 @@ void canvas_undo_disconnect(t_canvas *x, void *z, int action) #define UCUT_CUT 1 /* operation was a cut */ #define UCUT_CLEAR 2 /* .. a clear */ + +// following action is not needed any more LATER remove any signs of UCUT_TEXT +// since recreate takes care of this in a more elegant way #define UCUT_TEXT 3 /* text typed into a box */ typedef struct _undo_cut -- GitLab