src/Tools/jEdit/src/output_dockable.scala
changeset 50146 03f38212442a
parent 50117 32755e357a51
child 50205 788c8263e634
equal deleted inserted replaced
50145:88ba14e563d4 50146:03f38212442a
    46   private def handle_resize()
    46   private def handle_resize()
    47   {
    47   {
    48     Swing_Thread.require()
    48     Swing_Thread.require()
    49 
    49 
    50     pretty_text_area.resize(Isabelle.font_family(),
    50     pretty_text_area.resize(Isabelle.font_family(),
    51       scala.math.round(Isabelle.font_size("jedit_font_scale") * zoom_factor / 100))
    51       (Isabelle.font_size("jedit_font_scale") * zoom_factor / 100).round)
    52   }
    52   }
    53 
    53 
    54   private def handle_update(follow: Boolean, restriction: Option[Set[Command]])
    54   private def handle_update(follow: Boolean, restriction: Option[Set[Command]])
    55   {
    55   {
    56     Swing_Thread.require()
    56     Swing_Thread.require()