From aba5307d448d60e46d469d81d253b96f9d3e35f6 Mon Sep 17 00:00:00 2001 From: ppedrot Date: Sat, 5 May 2012 23:51:09 +0000 Subject: Renamed Undo to conform to CoqIDE widget naming convention. In addition, made various hack to handle GtkSourceView built-in undo/redo and made method types and names more compliant with the one of Gtk. git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@15280 85f007b7-540e-0410-9357-904b9bb8a0f7 --- ide/wg_ScriptView.mli | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 ide/wg_ScriptView.mli (limited to 'ide/wg_ScriptView.mli') diff --git a/ide/wg_ScriptView.mli b/ide/wg_ScriptView.mli new file mode 100644 index 0000000000..bc738257cc --- /dev/null +++ b/ide/wg_ScriptView.mli @@ -0,0 +1,44 @@ +(************************************************************************) +(* v * The Coq Proof Assistant / The Coq Development Team *) +(* +object + inherit GSourceView2.source_view + method undo : unit -> bool + method redo : unit -> bool + method clear_undo : unit -> unit +end + +val script_view : + ?source_buffer:GSourceView2.source_buffer -> + ?draw_spaces:SourceView2Enums.source_draw_spaces_flags list -> + ?auto_indent:bool -> + ?highlight_current_line:bool -> + ?indent_on_tab:bool -> + ?indent_width:int -> + ?insert_spaces_instead_of_tabs:bool -> + ?right_margin_position:int -> + ?show_line_marks:bool -> + ?show_line_numbers:bool -> + ?show_right_margin:bool -> + ?smart_home_end:SourceView2Enums.source_smart_home_end_type -> + ?tab_width:int -> + ?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 -> script_view -- cgit v1.2.3