]> matita.cs.unibo.it Git - helm.git/commitdiff
The editor window now scrolls when the user exceeds the available space.
authorClaudio Sacerdoti Coen <claudio.sacerdoticoen@unibo.it>
Wed, 2 Jul 2003 10:24:38 +0000 (10:24 +0000)
committerClaudio Sacerdoti Coen <claudio.sacerdoticoen@unibo.it>
Wed, 2 Jul 2003 10:24:38 +0000 (10:24 +0000)
helm/gTopLevel/texTermEditor.ml

index d97eb51c46addf97deff9a7d64141b724b421696..028a17710ed5e03399c2fc0284c4302095806d5e 100644 (file)
@@ -124,8 +124,10 @@ module Make(C:Disambiguate.Callbacks) =
           end
          else if key = GdkKeysyms._BackSpace then
           Mathml_editor.drop tex_editor false ;
-         mmlwidget#thaw ;
-         false) in
+         let adj = mmlwidget#get_hadjustment in
+          mmlwidget#thaw ;
+          adj#set_value adj#upper ;
+          false) in
     let id_to_uris =
      match share_id_to_uris_with with
         None -> ref empty_id_to_uris