more active "provers" field, which increases chances that its history is stored;
authorwenzelm
Fri, 09 Aug 2013 12:29:15 +0200
changeset 52933 08bbd321ac4c
parent 52932 eb7d7c0034b5
child 52934 bfb6873df88e
more active "provers" field, which increases chances that its history is stored;
src/Tools/jEdit/src/sledgehammer_dockable.scala
--- a/src/Tools/jEdit/src/sledgehammer_dockable.scala	Fri Aug 09 12:25:24 2013 +0200
+++ b/src/Tools/jEdit/src/sledgehammer_dockable.scala	Fri Aug 09 12:29:15 2013 +0200
@@ -101,6 +101,11 @@
   }
 
   private val provers = new HistoryTextField("isabelle-sledgehammer-provers") {
+    override def processKeyEvent(evt: KeyEvent)
+    {
+      if (evt.getID == KeyEvent.KEY_PRESSED && evt.getKeyCode == KeyEvent.VK_ENTER) clicked
+      super.processKeyEvent(evt)
+    }
     setToolTipText(provers_label.tooltip)
     setColumns(20)
   }