Debian Codegraph @

ide/rocqide/preferences.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 val lang_manager : GSourceView3.source_language_manager
12 val style_manager : GSourceView3.source_style_scheme_manager
13
14 type project_behavior = Ignore_args | Append_args | Subst_args
15 type inputenc = Elocale | Eutf8 | Emanual of string
16 type line_ending = [ `DEFAULT | `WINDOWS | `UNIX ]
17
18 type tag = {
19 tag_fg_color : string option;
20 tag_bg_color : string option;
21 tag_bold : bool;
22 tag_italic : bool;
23 tag_underline : bool;
24 tag_strikethrough : bool;
25 }
26
27 class virtual ['a] repr :
28 object
29 method raw_into : string -> 'a
30 method raw_from : 'a -> string
31 method virtual into : string list -> 'a option
32 method virtual from : 'a -> string list
33 end
34
35 class ['a] preference_signals : changed:'a GUtil.signal ->
36 object
37 inherit GUtil.ml_signals
38 method changed : callback:('a -> unit) -> GtkSignal.id
39 end
40
41 class ['a] preference : name:string list -> init:'a -> repr:'a repr ->
42 object
43 method connect : 'a preference_signals
44 method get : 'a
45 method set : 'a -> unit
46 method reset : unit -> unit
47 method default : 'a
48 method repr: 'a repr
49 end
50
51 val list_tags : unit -> tag preference Util.String.Map.t
52
53 val get_unicode_bindings_local_file : unit -> string option
54 val get_unicode_bindings_default_file : unit -> string option
55
56 val str_to_mod_list : string -> Gdk.Tags.modifier list
57 val mod_list_to_str : Gdk.Tags.modifier list -> string
58
59 val printopts_item_names : string list ref
60
61 val select_arch : 'a -> 'a -> 'a
62
63 val cmd_rocqtop : string option preference
64 val cmd_rocqc : string preference
65 val cmd_make : string preference
66 val cmd_rocqmakefile : string preference
67 val cmd_rocqdoc : string preference
68 val source_language : string preference
69 val source_style : string preference
70 val global_auto_reload : bool preference
71 val global_auto_reload_delay : int preference
72 val auto_save : bool preference
73 val auto_save_delay : int preference
74 val auto_save_name : (string * string) preference
75 val read_project : project_behavior preference
76 val project_file_name : string preference
77 val project_path : string option preference
78 val encoding : inputenc preference
79 val automatic_tactics : string list preference
80 val cmd_print : string preference
81 val modifier_for_navigation : string preference
82 val modifier_for_templates : string preference
83 val modifier_for_display : string preference
84 val modifier_for_queries : string preference
85 val modifiers_valid : string preference
86 val cmd_browse : string preference
87 val cmd_editor : string preference
88 val text_font : string preference
89 val show_toolbar : bool preference
90 val window_width : int preference
91 val window_height : int preference
92 val unicode_binding : bool preference
93 val auto_complete : bool preference
94 val auto_complete_delay : int preference
95 val stop_before : bool preference
96 val reset_on_tab_switch : bool preference
97 val line_ending : line_ending preference
98 val document_tabs_pos : string preference
99 val message_tab_capped : bool preference
100 val message_tab_length : int preference
101 (* val background_color : string preference *)
102 val processing_color : string preference
103 val processed_color : string preference
104 val incompletely_processed_color : string preference
105 val unjustified_conclusion_color : string preference
106 val breakpoint_color : string preference
107 val db_stopping_point_color : string preference
108 val error_color : string preference
109 val error_fg_color : string preference
110 val dynamic_word_wrap : bool preference
111 val show_line_number : bool preference
112 val auto_indent : bool preference
113 val show_spaces : bool preference
114 val show_right_margin : bool preference
115 val show_progress_bar : bool preference
116 val spaces_instead_of_tabs : bool preference
117 val tab_length : int preference
118 val highlight_current_line : bool preference
119 val microPG : bool preference
120 val user_queries : (string * string) list preference
121 val diffs : string preference
122
123 val save_pref : unit -> unit
124 val load_pref : warn:(delay:int -> string -> unit) -> unit
125
126 val stick : 'a preference ->
127 < connect : #GObj.widget_signals ; .. > -> ('a -> unit) -> unit
128
129 val use_default_doc_url : string