]> matita.cs.unibo.it Git - helm.git/commitdiff
Ctr+Backspace is now enabled. Used to perform "alternative" deletion.
authorClaudio Sacerdoti Coen <claudio.sacerdoticoen@unibo.it>
Wed, 2 Jul 2003 10:30:01 +0000 (10:30 +0000)
committerClaudio Sacerdoti Coen <claudio.sacerdoticoen@unibo.it>
Wed, 2 Jul 2003 10:30:01 +0000 (10:30 +0000)
helm/gTopLevel/texTermEditor.ml

index 028a17710ed5e03399c2fc0284c4302095806d5e..3cf09934972746fd9de3692b2b188449a71f0f26 100644 (file)
@@ -123,7 +123,8 @@ module Make(C:Disambiguate.Callbacks) =
            mmlwidget#thaw
           end
          else if key = GdkKeysyms._BackSpace then
-          Mathml_editor.drop tex_editor false ;
+          Mathml_editor.drop tex_editor
+           (List.mem `CONTROL (GdkEvent.Key.state e)) ;
          let adj = mmlwidget#get_hadjustment in
           mmlwidget#thaw ;
           adj#set_value adj#upper ;