]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/matita/matitaScript.ml
version 0.7.1
[helm.git] / helm / matita / matitaScript.ml
index e76f011ff23ee0b088ba150f317282fd724798c1..63a6ed007aab91a4f09f8e4f63c4075b6fd6b9f4 100644 (file)
@@ -396,13 +396,13 @@ List.iter (fun s -> prerr_endline ("'" ^ s ^ "'")) new_statements;
     try
       self#_advance ?statement ();
       self#notify
-    with Margin -> ()
+    with Margin -> self#notify
 
   method retract () =
     try
       self#_retract ();
       self#notify
-    with Margin -> ()
+    with Margin -> self#notify
 
   method private getFuture =
     buffer#get_text ~start:(buffer#get_iter_at_mark (`MARK locked_mark))
@@ -499,7 +499,7 @@ List.iter (fun s -> prerr_endline ("'" ^ s ^ "'")) new_statements;
           in
           dowhile (getpos ());
           self#notify 
-        with Margin -> ())
+        with Margin -> self#notify)
     | `Cursor ->
         let locked_iter () = buffer#get_iter_at_mark (`NAME "locked") in
         let cursor_iter () = buffer#get_iter_at_mark `INSERT in
@@ -521,7 +521,7 @@ List.iter (fun s -> prerr_endline ("'" ^ s ^ "'")) new_statements;
             (back_until_cursor (); self#notify)
           else                  (* cursor = locked *)
               ()
-        with Margin -> ())
+        with Margin -> self#notify)
 
   method onGoingProof () =
     match self#status.proof_status with