1
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
2
/* Cleaned 10-00 by Chema */
6
* Copyright (C) 2000 Chema Celorio
8
* This program is free software; you can redistribute it and/or modify
9
* it under the terms of the GNU General Public License as published by
10
* the Free Software Foundation; either version 2 of the License, or
11
* (at your option) any later version.
13
* This program is distributed in the hope that it will be useful,
14
* but WITHOUT ANY WARRANTY; without even the implied warranty of
15
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16
* GNU General Public License for more details.
18
* You should have received a copy of the GNU General Public License
19
* along with this program; if not, write to the Free Software
20
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
23
#ifndef __GEDIT_UNDO_H__
24
#define __GEDIT_UNDO_H__
30
GEDIT_UNDO_ACTION_INSERT,
31
GEDIT_UNDO_ACTION_DELETE,
32
GEDIT_UNDO_ACTION_REPLACE_INSERT,
33
GEDIT_UNDO_ACTION_REPLACE_DELETE
37
GEDIT_UNDO_STATE_TRUE,
38
GEDIT_UNDO_STATE_FALSE,
39
GEDIT_UNDO_STATE_UNCHANGED,
40
GEDIT_UNDO_STATE_REFRESH,
43
void gedit_undo_add (const gchar *text, gint start_pos, gint end_pos, GeditUndoAction action, GeditDocument *doc, GeditView *view);
44
void gedit_undo_undo (GtkWidget*, gpointer);
45
void gedit_undo_redo (GtkWidget*, gpointer);
46
void gedit_undo_free_list (GList **list_pointer);
48
#endif /* __GEDIT_UNDO_H__ */