src/Tools/jEdit/src/output_dockable.scala
changeset 56917 7b65f4da136d
parent 56907 0f3c375fd27c
child 56918 a442dc6d244d
equal deleted inserted replaced
56916:b00a861d8f16 56917:7b65f4da136d
    18 import org.gjt.sp.jedit.View
    18 import org.gjt.sp.jedit.View
    19 
    19 
    20 
    20 
    21 class Output_Dockable(view: View, position: String) extends Dockable(view, position)
    21 class Output_Dockable(view: View, position: String) extends Dockable(view, position)
    22 {
    22 {
       
    23   override def focusOnDefaultComponent { view.getTextArea.requestFocus }
       
    24 
       
    25 
    23   /* component state -- owned by Swing thread */
    26   /* component state -- owned by Swing thread */
    24 
    27 
    25   private var zoom_factor = 100
    28   private var zoom_factor = 100
    26   private var do_update = true
    29   private var do_update = true
    27   private var current_snapshot = Document.Snapshot.init
    30   private var current_snapshot = Document.Snapshot.init