Debian Codegraph @

ide/rocqide/wg_ScriptView.mli

raw symbols SCIP
1 (************************************************************************)
2 (* * The Rocq Prover / The Rocq Development Team *)
3 (* v * Copyright INRIA, CNRS and contributors *)
4 (* <O___,, * (see version control and CREDITS file for authors & dates) *)
5 (* \VV/ **************************************************************)
6 (* // * This file is distributed under the terms of the *)
7 (* * GNU Lesser General Public License Version 2.1 *)
8 (* * (see LICENSE file for the text of the license) *)
9 (************************************************************************)
10
11 (* An undoable view class *)
12
13 type source_view = [ Gtk.text_view | `sourceview ] Gtk.obj
14
15 class script_view : source_view -> RocqDriver.rocqtop ->
16 object
17 inherit GSourceView3.source_view
18 method undo : unit -> unit
19 method redo : unit -> unit
20 method clear_undo : unit -> unit
21 method auto_complete : bool
22 method set_auto_complete : bool -> unit
23 method right_margin_position : int
24 method set_right_margin_position : int -> unit
25 method show_right_margin : bool
26 method set_show_right_margin : bool -> unit
27 method select_all : unit -> unit
28 method comment : unit -> unit
29 method uncomment : unit -> unit
30 method apply_unicode_binding : unit -> unit
31 method recenter_insert : unit
32 method proposal : string option
33 method set_debugging_highlight : int -> int -> unit
34 method clear_debugging_highlight : int -> int -> unit
35 end
36
37 val script_view : RocqDriver.rocqtop ->
38 ?source_buffer:GSourceView3.source_buffer ->
39 ?draw_spaces:SourceView3Enums.source_draw_spaces_flags list ->
40 ?auto_indent:bool ->
41 ?highlight_current_line:bool ->
42 ?indent_on_tab:bool ->
43 ?indent_width:int ->
44 ?insert_spaces_instead_of_tabs:bool ->
45 ?right_margin_position:int ->
46 ?show_line_marks:bool ->
47 ?show_line_numbers:bool ->
48 ?show_right_margin:bool ->
49 ?smart_home_end:SourceView3Enums.source_smart_home_end_type ->
50 ?tab_width:int ->
51 ?editable:bool ->
52 ?cursor_visible:bool ->
53 ?justification:GtkEnums.justification ->
54 ?wrap_mode:GtkEnums.wrap_mode ->
55 ?accepts_tab:bool ->
56 ?border_width:int ->
57 ?width:int ->
58 ?height:int ->
59 ?packing:(GObj.widget -> unit) ->
60 ?show:bool -> unit -> script_view