diff options
| author | Hugo Herbelin | 2019-01-06 19:40:30 +0100 |
|---|---|---|
| committer | Vincent Laporte | 2019-03-19 08:40:21 +0000 |
| commit | 73847d367b22b5d451bcf1e538b80ca057232754 (patch) | |
| tree | 2bfe6f7115c9a71ae2d817fc2fc5aed11a1860ed | |
| parent | 25cbf4cefa2102b11c3617c0c52f67d98fbffaac (diff) | |
CoqIDE: Adding configurable color for incompletely processed Qed.
| -rw-r--r-- | ide/preferences.ml | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/ide/preferences.ml b/ide/preferences.ml index cf884b7107..69dbc0b235 100644 --- a/ide/preferences.ml +++ b/ide/preferences.ml @@ -413,8 +413,11 @@ let attach_fg (pref : string preference) (tag : GText.tag) = let processing_color = new preference ~name:["processing_color"] ~init:"light blue" ~repr:Repr.(string) +let incompletely_processed_color = + new preference ~name:["incompletely_processed_color"] ~init:"light sky blue" ~repr:Repr.(string) + let _ = attach_bg processing_color Tags.Script.to_process -let _ = attach_bg processing_color Tags.Script.incomplete +let _ = attach_bg incompletely_processed_color Tags.Script.incomplete let tags = ref Util.String.Map.empty @@ -724,6 +727,7 @@ let configure ?(apply=(fun () -> ())) parent = ("Background color", background_color); ("Background color of processed text", processed_color); ("Background color of text being processed", processing_color); + ("Background color of incompletely processed Qed", incompletely_processed_color); ("Background color of errors", error_color); ("Foreground color of errors", error_fg_color); ] in |
