tuned: fewer warnings in IntelliJ IDEA;
authorwenzelm
Thu, 07 Nov 2024 15:42:35 +0100
changeset 81390 71e66ebbc632
parent 81389 5c8c94d5211a
child 81391 365b9aac4363
tuned: fewer warnings in IntelliJ IDEA;
src/Tools/jEdit/src/pretty_text_area.scala
--- a/src/Tools/jEdit/src/pretty_text_area.scala	Thu Nov 07 13:30:40 2024 +0100
+++ b/src/Tools/jEdit/src/pretty_text_area.scala	Thu Nov 07 15:42:35 2024 +0100
@@ -145,11 +145,11 @@
 
   /* search */
 
-  val search_label: Component = new Label("Search:") {
+  private val search_label: Component = new Label("Search:") {
     tooltip = "Search and highlight output via regular expression"
   }
 
-  val search_field: Component =
+  private val search_field: Component =
     Component.wrap(new Completion_Popup.History_Text_Field("isabelle-search") {
       private val input_delay =
         Delay.last(PIDE.session.input_delay, gui = true) { search_action(this) }
@@ -224,7 +224,7 @@
 
         case KeyEvent.VK_A
         if strict_control =>
-          text_area.selectAll
+          text_area.selectAll()
           evt.consume()
 
         case KeyEvent.VK_ESCAPE =>