blob: 7d2be0012daa96347cefef53d554965f11f76140 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
|
(************************************************************************)
(* v * The Coq Proof Assistant / The Coq Development Team *)
(* <O___,, * CNRS-Ecole Polytechnique-INRIA Futurs-Universite Paris Sud *)
(* \VV/ **************************************************************)
(* // * This file is distributed under the terms of the *)
(* * GNU Lesser General Public License Version 2.1 *)
(************************************************************************)
(*i $Id$ i*)
type pref =
{
mutable cmd_coqc : string;
mutable cmd_make : string;
mutable cmd_coqmakefile : string;
mutable cmd_coqdoc : string;
mutable global_auto_revert : bool;
mutable global_auto_revert_delay : int;
mutable auto_save : bool;
mutable auto_save_delay : int;
mutable auto_save_name : string * string;
mutable encoding_use_locale : bool;
mutable encoding_use_utf8 : bool;
mutable encoding_manual : string;
mutable automatic_tactics : string list;
mutable cmd_print : string;
mutable modifier_for_navigation : Gdk.Tags.modifier list;
mutable modifier_for_templates : Gdk.Tags.modifier list;
mutable modifier_for_tactics : Gdk.Tags.modifier list;
mutable modifiers_valid : Gdk.Tags.modifier list;
mutable cmd_browse : string * string;
mutable cmd_editor : string * string;
mutable text_font : Pango.font_description;
mutable doc_url : string;
mutable library_url : string;
mutable show_toolbar : bool;
mutable contextual_menus_on_goal : bool;
mutable window_width : int;
mutable window_height : int;
mutable query_window_width : int;
mutable query_window_height : int;
(*
mutable use_utf8_notation : bool;
*)
mutable auto_complete : bool;
mutable stop_before : bool;
mutable lax_syntax : bool;
}
val save_pref : unit -> unit
val load_pref : unit -> unit
val current : pref ref
val configure : unit -> unit
val change_font : ( Pango.font_description -> unit) ref
val show_toolbar : (bool -> unit) ref
val auto_complete : (bool -> unit) ref
val resize_window : (unit -> unit) ref
|