X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=matita%2Fmatita%2FcicMathView.ml;h=e06e0055d6da93d8ea9531fceca880048f5d3609;hb=e8fb201bad04ec30867659c2d42ef45a4b6c3393;hp=81c89360ae4014d204d8bd97e09037e196b809a4;hpb=12f5034282288694272f5386db7a68d41e0d5326;p=helm.git diff --git a/matita/matita/cicMathView.ml b/matita/matita/cicMathView.ml index 81c89360a..e06e0055d 100644 --- a/matita/matita/cicMathView.ml +++ b/matita/matita/cicMathView.ml @@ -192,9 +192,7 @@ object (self) (Cic.id, Cic.id option) Hashtbl.t * ('a, 'b) Hashtbl.t * 'c option)*) option -> unit) (* dal widget di Luca *) method load_root ~root:(hyperlinks,text) = - self#buffer#delete ~start:(self#buffer#get_iter `START) - ~stop:(self#buffer#get_iter `END); - self#buffer#insert text; + self#buffer#set_text text; let all_tag = self#buffer#create_tag [] in self#buffer#apply_tag all_tag ~start:(self#buffer#get_iter `START) ~stop:(self#buffer#get_iter `END);