tuned;
authorwenzelm
Sat, 07 Mar 2020 12:19:41 +0100
changeset 71525 d7b0d078266d
parent 71524 4b908e70d642
child 71526 abe723ff3f7f
tuned;
src/Tools/jEdit/src-base/dockable.scala
src/Tools/jEdit/src/debugger_dockable.scala
src/Tools/jEdit/src/documentation_dockable.scala
src/Tools/jEdit/src/graphview_dockable.scala
src/Tools/jEdit/src/query_dockable.scala
src/Tools/jEdit/src/sledgehammer_dockable.scala
--- a/src/Tools/jEdit/src-base/dockable.scala	Sat Mar 07 12:15:15 2020 +0100
+++ b/src/Tools/jEdit/src-base/dockable.scala	Sat Mar 07 12:19:41 2020 +0100
@@ -22,7 +22,7 @@
   if (position == DockableWindowManager.FLOATING)
     setPreferredSize(new Dimension(500, 250))
 
-  def focusOnDefaultComponent { JEdit_Lib.request_focus_view(view) }
+  def focusOnDefaultComponent() { JEdit_Lib.request_focus_view(view) }
 
   def set_content(c: Component) { add(c, BorderLayout.CENTER) }
   def set_content(c: scala.swing.Component) { add(c.peer, BorderLayout.CENTER) }
--- a/src/Tools/jEdit/src/debugger_dockable.scala	Sat Mar 07 12:15:15 2020 +0100
+++ b/src/Tools/jEdit/src/debugger_dockable.scala	Sat Mar 07 12:19:41 2020 +0100
@@ -297,7 +297,7 @@
 
   /* focus */
 
-  override def focusOnDefaultComponent { eval_button.requestFocus }
+  override def focusOnDefaultComponent() { eval_button.requestFocus }
 
   addFocusListener(new FocusAdapter {
     override def focusGained(e: FocusEvent) { update_focus() }
--- a/src/Tools/jEdit/src/documentation_dockable.scala	Sat Mar 07 12:15:15 2020 +0100
+++ b/src/Tools/jEdit/src/documentation_dockable.scala	Sat Mar 07 12:19:41 2020 +0100
@@ -49,7 +49,7 @@
   tree.setRowHeight(0)
   tree.getSelectionModel.setSelectionMode(TreeSelectionModel.SINGLE_TREE_SELECTION)
 
-  override def focusOnDefaultComponent { tree.requestFocusInWindow }
+  override def focusOnDefaultComponent() { tree.requestFocusInWindow }
 
   private def action(node: DefaultMutableTreeNode)
   {
--- a/src/Tools/jEdit/src/graphview_dockable.scala	Sat Mar 07 12:15:15 2020 +0100
+++ b/src/Tools/jEdit/src/graphview_dockable.scala	Sat Mar 07 12:19:41 2020 +0100
@@ -110,7 +110,7 @@
   set_content(graphview)
 
 
-  override def focusOnDefaultComponent
+  override def focusOnDefaultComponent()
   {
     graphview match {
       case main_panel: isabelle.graphview.Main_Panel =>
--- a/src/Tools/jEdit/src/query_dockable.scala	Sat Mar 07 12:15:15 2020 +0100
+++ b/src/Tools/jEdit/src/query_dockable.scala	Sat Mar 07 12:19:41 2020 +0100
@@ -297,7 +297,7 @@
     operations_pane.revalidate
   }
 
-  override def focusOnDefaultComponent { for (op <- get_operation()) op.query.requestFocus }
+  override def focusOnDefaultComponent() { for (op <- get_operation()) op.query.requestFocus }
 
   select_operation()
   set_content(operations_pane)
--- a/src/Tools/jEdit/src/sledgehammer_dockable.scala	Sat Mar 07 12:15:15 2020 +0100
+++ b/src/Tools/jEdit/src/sledgehammer_dockable.scala	Sat Mar 07 12:19:41 2020 +0100
@@ -144,7 +144,7 @@
 
   add(controls.peer, BorderLayout.NORTH)
 
-  override def focusOnDefaultComponent { provers.requestFocus }
+  override def focusOnDefaultComponent() { provers.requestFocus }
 
 
   /* main */