# HG changeset patch # User wenzelm # Date 1375437038 -7200 # Node ID 916bdb4227ba0ed485359f506a796fdd38bc2dee # Parent cc425a7dc9adbcc95b7c6ed124466384e087275e tuned; diff -r cc425a7dc9ad -r 916bdb4227ba src/Tools/jEdit/src/output_dockable.scala --- a/src/Tools/jEdit/src/output_dockable.scala Thu Aug 01 23:25:14 2013 +0200 +++ b/src/Tools/jEdit/src/output_dockable.scala Fri Aug 02 11:50:38 2013 +0200 @@ -135,30 +135,31 @@ /* controls */ - private val zoom = new GUI.Zoom_Box(factor => { zoom_factor = factor; handle_resize() }) - zoom.tooltip = "Zoom factor for basic font size" + private val zoom = new GUI.Zoom_Box(factor => { zoom_factor = factor; handle_resize() }) { + tooltip = "Zoom factor for output font size" + } private val auto_update = new CheckBox("Auto update") { + tooltip = "Indicate automatic update following cursor movement" reactions += { case ButtonClicked(_) => do_update = this.selected; handle_update(do_update, None) } + selected = do_update } - auto_update.selected = do_update - auto_update.tooltip = "Indicate automatic update following cursor movement" private val update = new Button("Update") { + tooltip = "Update display according to the command at cursor position" reactions += { case ButtonClicked(_) => handle_update(true, None) } } - update.tooltip = "Update display according to the command at cursor position" private val detach = new Button("Detach") { + tooltip = "Detach window with static copy of current output" reactions += { case ButtonClicked(_) => Info_Dockable(view, current_snapshot, current_state.results, Pretty.separate(current_output)) } } - detach.tooltip = "Detach window with static copy of current output" - private val controls = new FlowPanel(FlowPanel.Alignment.Right)(zoom, auto_update, update, detach) + private val controls = new FlowPanel(FlowPanel.Alignment.Right)(auto_update, update, detach, zoom) add(controls.peer, BorderLayout.NORTH) }