X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Fmatita%2FmatitaScript.ml;h=5ddfb2b9c0a4c026aaffeb00ab8d73831c860b85;hb=0a50912f2577243a1f9e4068b02877b8e61181c9;hp=79c4fc4c57136cb884940ceae897768587613ae5;hpb=5e24139bb91796541614daff84b99119dfb32caf;p=helm.git diff --git a/helm/software/matita/matitaScript.ml b/helm/software/matita/matitaScript.ml index 79c4fc4c5..5ddfb2b9c 100644 --- a/helm/software/matita/matitaScript.ml +++ b/helm/software/matita/matitaScript.ml @@ -583,6 +583,11 @@ object (self) let grafite_status = self#grafite_status in List.iter (fun o -> o lexicon_status grafite_status) observers + method loadFromString s = + buffer#set_text s; + self#reset_buffer; + buffer#set_modified true + method loadFromFile f = buffer#set_text (HExtlib.input_file f); self#reset_buffer;