aboutsummaryrefslogtreecommitdiff
path: root/ide
diff options
context:
space:
mode:
authorHugo Herbelin2020-02-23 17:11:01 +0100
committerHugo Herbelin2020-02-23 18:05:32 +0100
commit267f981c5c05cd795e08ea14aaeab5a49550d21b (patch)
tree994c843c222967bfd8a81e185e2d7c697d933219 /ide
parent61f2f55a08dcef612c538ec7e6d0864d86fe3e0a (diff)
Adding a Display Parentheses menu in CoqIDE.
Diffstat (limited to 'ide')
-rw-r--r--ide/coq.ml1
-rw-r--r--ide/coqide_ui.ml1
-rw-r--r--ide/idetop.ml1
3 files changed, 3 insertions, 0 deletions
diff --git a/ide/coq.ml b/ide/coq.ml
index 0c6aef0305..5b66cb745e 100644
--- a/ide/coq.ml
+++ b/ide/coq.ml
@@ -558,6 +558,7 @@ struct
{ opts = [raw_matching]; init = true;
label = "Display raw _matching expressions" };
{ opts = [notations]; init = true; label = "Display _notations" };
+ { opts = [notations]; init = true; label = "Display _parentheses" };
{ opts = [all_basic]; init = false;
label = "Display _all basic low-level contents" };
{ opts = [existential]; init = false;
diff --git a/ide/coqide_ui.ml b/ide/coqide_ui.ml
index f22821c6ea..e9ff1bbba1 100644
--- a/ide/coqide_ui.ml
+++ b/ide/coqide_ui.ml
@@ -79,6 +79,7 @@ let init () =
\n <menuitem action='Display coercions' />\
\n <menuitem action='Display raw matching expressions' />\
\n <menuitem action='Display notations' />\
+\n <menuitem action='Display parentheses' />\
\n <menuitem action='Display all basic low-level contents' />\
\n <menuitem action='Display existential variable instances' />\
\n <menuitem action='Display universe levels' />\
diff --git a/ide/idetop.ml b/ide/idetop.ml
index ae2301a0a7..f20e39ad38 100644
--- a/ide/idetop.ml
+++ b/ide/idetop.ml
@@ -49,6 +49,7 @@ let coqide_known_option table = List.mem table [
["Printing";"Matching"];
["Printing";"Synth"];
["Printing";"Notations"];
+ ["Printing";"Parentheses"];
["Printing";"All"];
["Printing";"Records"];
["Printing";"Existential";"Instances"];