2011-12-12 14:29:30 +01:00
|
|
|
/*
|
|
|
|
* L3afpad - GTK+ based simple text editor
|
|
|
|
* Copyright (C) 2004-2005 Tarot Osuji
|
2011-12-12 14:35:35 +01:00
|
|
|
*
|
2011-12-12 14:29:30 +01:00
|
|
|
* This program is free software; you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
* the Free Software Foundation; either version 2 of the License, or
|
|
|
|
* (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License along
|
|
|
|
* with this program; if not, write to the Free Software Foundation, Inc.,
|
|
|
|
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _UNDO_H
|
|
|
|
#define _UNDO_H
|
|
|
|
|
2012-05-21 09:40:23 +02:00
|
|
|
gboolean undo_redo_real(GtkTextBuffer *buffer);
|
|
|
|
gboolean undo_undo_real(GtkTextBuffer *buffer);
|
2011-12-12 14:29:30 +01:00
|
|
|
void undo_reset_modified_step(GtkTextBuffer *buffer);
|
|
|
|
void undo_clear_all(GtkTextBuffer *buffer);
|
|
|
|
void undo_init(GtkWidget *view, GtkWidget *undo_button, GtkWidget *redo_button);
|
|
|
|
void undo_set_sequency(gboolean seq);
|
|
|
|
void undo_set_sequency_reserve(void);
|
|
|
|
void undo_undo(GtkTextBuffer *buffer);
|
|
|
|
void undo_redo(GtkTextBuffer *buffer);
|
|
|
|
|
|
|
|
#endif /* _UNDO_H */
|