diff options
Diffstat (limited to 'ide/undo.mli')
-rw-r--r-- | ide/undo.mli | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/ide/undo.mli b/ide/undo.mli new file mode 100644 index 000000000..d9451fd1a --- /dev/null +++ b/ide/undo.mli @@ -0,0 +1,35 @@ +(************************************************************************) +(* v * The Coq Proof Assistant / The Coq Development Team *) +(* <O___,, * INRIA - CNRS - LIX - LRI - PPS - Copyright 1999-2010 *) +(* \VV/ **************************************************************) +(* // * This file is distributed under the terms of the *) +(* * GNU Lesser General Public License Version 2.1 *) +(************************************************************************) + +(* An undoable view class *) + +class undoable_view : ([> Gtk.text_view] as 'a) Gtk.obj -> +object + inherit GText.view + val obj : 'a Gtk.obj + method undo : bool + method redo : bool + method clear_undo : unit +end + +val undoable_view : + ?buffer:GText.buffer -> + ?editable:bool -> + ?cursor_visible:bool -> + ?justification:GtkEnums.justification -> + ?wrap_mode:GtkEnums.wrap_mode -> + ?accepts_tab:bool -> + ?border_width:int -> + ?width:int -> + ?height:int -> + ?packing:(GObj.widget -> unit) -> + ?show:bool -> + unit -> + undoable_view + + |