diff options
author | Enrico Tassi <Enrico.Tassi@inria.fr> | 2015-02-25 16:42:59 +0100 |
---|---|---|
committer | Enrico Tassi <Enrico.Tassi@inria.fr> | 2015-02-25 16:43:06 +0100 |
commit | 550da87456ae156ced70fdb123d9f36ac7b84720 (patch) | |
tree | c784f4533aa2e35071c4d736f9485972ab7c7ee1 /ide/coqOps.ml | |
parent | f17fa1daa613a4f86e6bdbf51ed7e758f158f938 (diff) |
CoqIDE: correclty unfocus (remove all tags) when jumping out of a proof
Diffstat (limited to 'ide/coqOps.ml')
-rw-r--r-- | ide/coqOps.ml | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/ide/coqOps.ml b/ide/coqOps.ml index 8ba1c8ecd..1800cb8fe 100644 --- a/ide/coqOps.ml +++ b/ide/coqOps.ml @@ -662,10 +662,14 @@ object(self) buffer#remove_tag Tags.Script.unjustified ~start ~stop; buffer#remove_tag Tags.Script.tooltip ~start ~stop; buffer#remove_tag Tags.Script.to_process ~start ~stop; + buffer#remove_tag Tags.Script.read_only ~start ~stop; + buffer#remove_tag Tags.Script.error ~start ~stop; + buffer#remove_tag Tags.Script.error_bg ~start ~stop; buffer#move_mark ~where:start (`NAME "start_of_input") end; List.iter (fun { start } -> buffer#delete_mark start) seg; - List.iter (fun { stop } -> buffer#delete_mark stop) seg + List.iter (fun { stop } -> buffer#delete_mark stop) seg; + self#print_stack (** Wrapper around the raw undo command *) method private backtrack_to_id ?(move_insert=true) (to_id, unfocus_needed) = |