X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;ds=sidebyside;f=matita%2Fmatita%2FmatitaGuiTypes.mli;h=f7c9a7b9fa2b82699d81ae86c5a770b12737191b;hb=16250ed29f9200595694cd49dfc1aed76280dcb9;hp=d25735d4aebf1abd36271ede520e6f1964efdd9f;hpb=2c01ff6094173915e7023076ea48b5804dca7778;p=helm.git diff --git a/matita/matita/matitaGuiTypes.mli b/matita/matita/matitaGuiTypes.mli index d25735d4a..f7c9a7b9f 100644 --- a/matita/matita/matitaGuiTypes.mli +++ b/matita/matita/matitaGuiTypes.mli @@ -105,7 +105,14 @@ type paste_kind = [ `Term | `Pattern ] * callback *) class type clickableMathView = object - inherit GMathViewAux.multi_selection_math_view + inherit GSourceView2.source_view + + method load_root : root:string -> unit + method remove_selections: unit + method set_selection: unit option -> unit + method get_selections: unit list + method set_font_size: int -> unit + (** set hyperlink callback. None disable hyperlink handling *) method set_href_callback: (string -> unit) option -> unit @@ -123,12 +130,10 @@ object inherit clickableMathView (** load a sequent and render it into parent widget *) - method load_sequent: Cic.metasenv -> int -> unit method nload_sequent: - #NCicCoercion.status -> NCic.metasenv -> NCic.substitution -> int -> unit + #LexiconTypes.status -> NCic.metasenv -> NCic.substitution -> int -> unit - method load_object: Cic.obj -> unit - method load_nobject: #NCicCoercion.status -> NCic.obj -> unit + method load_nobject: #LexiconTypes.status -> NCic.obj -> unit end class type sequentsViewer = @@ -136,11 +141,9 @@ object method reset: unit method load_logo: unit method load_logo_with_qed: unit - method load_sequents: - #NCicCoercion.status -> GrafiteTypes.incomplete_proof -> unit method nload_sequents: #NTacStatus.tac_status -> unit method goto_sequent: - #NCicCoercion.status -> int -> unit (* to be called _after_ load_sequents *) + #LexiconTypes.status -> int -> unit (* to be called _after_ load_sequents *) method cicMathView: cicMathView end