Skip to content
Snippets Groups Projects
Commit d8db59aa authored by Allan Blanchard's avatar Allan Blanchard
Browse files

[wp] Feedback on saved status for script file

parent c7a1d46b
No related branches found
No related tags found
No related merge requests found
......@@ -548,7 +548,11 @@ class pane (gprovers : GuiConfig.provers) =
text#clear ;
let main = ProofEngine.main proof in
if ProofSession.exists main then begin
text#printf "%a@." ProofSession.pp_script_for main ;
text#printf
(if ProofEngine.saved proof
then "%a (@{<green>saved@})@."
else "%a (@{<orange>modified@})@.")
ProofSession.pp_script_for main ;
text#hrule ;
end ;
scripter#tree proof ;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment