diff options
| author | Pierre-Marie Pédrot | 2015-08-21 18:07:23 +0200 |
|---|---|---|
| committer | Pierre-Marie Pédrot | 2015-09-20 15:20:32 +0200 |
| commit | 05fc256eecfea634d8c726c5b7f81269a87eca18 (patch) | |
| tree | df83a82cb1790079a929bfa5412dfa8775ed2daf | |
| parent | 06d1ad739b952febce3220c372aa2dedf18e1c79 (diff) | |
Adding standard printing tags to CoqIDE.
| -rw-r--r-- | ide/preferences.ml | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/ide/preferences.ml b/ide/preferences.ml index aea00d98de..743f6e2a62 100644 --- a/ide/preferences.ml +++ b/ide/preferences.ml @@ -398,6 +398,29 @@ let tags = ref Util.String.Map.empty let list_tags () = !tags +let () = + let iter name = + let pref = new preference ~name:[name] ~init:default_tag ~repr:Repr.(tag) in + tags := Util.String.Map.add name pref !tags + in + List.iter iter [ + "constr.evar"; + "constr.keyword"; + "constr.notation"; + "constr.path"; + "constr.reference"; + "constr.type"; + "constr.variable"; + "message.debug"; + "message.error"; + "message.warning"; + "module.definition"; + "module.keyword"; + "tactic.keyword"; + "tactic.primitive"; + "tactic.string"; + ] + let processed_color = new preference ~name:["processed_color"] ~init:"light green" ~repr:Repr.(string) |
