Revision: 901 http://svn.sourceforge.net/geany/?rev=901&view=rev Author: ntrel Date: 2006-10-17 09:41:29 -0700 (Tue, 17 Oct 2006)
Log Message: ----------- Fixed Undo/Redo setting the wrong document changed state when making edits after saving a file.
Modified Paths: -------------- trunk/ChangeLog trunk/src/document.c
Modified: trunk/ChangeLog =================================================================== --- trunk/ChangeLog 2006-10-17 12:52:32 UTC (rev 900) +++ trunk/ChangeLog 2006-10-17 16:41:29 UTC (rev 901) @@ -3,6 +3,9 @@ * src/callbacks.c, src/filetypes.h, src/ui_utils.c: Disable Make All, Make Custom menu items for unnamed files. Allow Run and Make Object for C header files. + * src/document.c: + Fixed Undo/Redo setting the wrong document changed state when making + edits after saving a file.
2006-10-17 Enrico Tröger enrico.troeger@uvena.de
Modified: trunk/src/document.c =================================================================== --- trunk/src/document.c 2006-10-17 12:52:32 UTC (rev 900) +++ trunk/src/document.c 2006-10-17 16:41:29 UTC (rev 901) @@ -1653,14 +1653,6 @@ } g_free(action); // free the action which was taken from the stack
- if (g_trash_stack_height(&doc_list[idx].undo_actions) == 0) - { - doc_list[idx].changed = FALSE; - document_set_text_changed(idx); - } - else - doc_list[idx].changed = TRUE; - ui_update_popup_reundo_items(idx); //geany_debug("%s: new stack height: %d", __func__, g_trash_stack_height(&doc_list[idx].undo_actions)); }
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.