module Disambiguate' = DisambiguatingParser.Make(C);;
- class term_editor_impl mqi_handle ?packing ?width ?height
+ class term_editor_impl ~(dbh:Dbi.connection) ?packing ?width ?height
?isnotempty_callback ?share_environment_with () : term_editor
=
let environment =
in
let environment',metasenv,expr =
match
- Disambiguate'.disambiguate_term mqi_handle context metasenv
+ Disambiguate'.disambiguate_term ~dbh context metasenv
(input#buffer#get_text ()) !environment
with
[environment',metasenv,expr] -> environment',metasenv,expr
module Make (C : DisambiguateTypes.Callbacks) :
sig
val term_editor :
- MQIConn.handle ->
+ dbh:Dbi.connection ->
?packing:(GObj.widget -> unit) ->
?width:int ->
?height:int ->
module Disambiguate' = DisambiguatingParser.Make(C);;
class term_editor_impl
- mqi_handle
+ ~dbh
?packing ?width ?height
?isnotempty_callback ?share_environment_with () : term_editor
=
debug_print ("TexTermEditor: Raw Tex: " ^ (Mathml_editor.get_tex tex_editor)) ;
let environment',metasenv,expr =
match
- Disambiguate'.disambiguate_term mqi_handle
+ Disambiguate'.disambiguate_term ~dbh
context metasenv (Mathml_editor.get_tex tex_editor) !environment
with
[environment',metasenv,expr] -> environment',metasenv,expr
module Make (C : DisambiguateTypes.Callbacks) :
sig
val term_editor :
- MQIConn.handle ->
+ dbh:Dbi.connection ->
?packing:(GObj.widget -> unit) ->
?width:int ->
?height:int ->