--- a/src/Tools/jEdit/src/jedit/PhaseOverviewPanel.scala Sun Sep 06 13:40:27 2009 +0200
+++ b/src/Tools/jEdit/src/jedit/PhaseOverviewPanel.scala Sun Sep 06 13:43:54 2009 +0200
@@ -77,7 +77,7 @@
}
}
-override def paintComponent(gfx : Graphics) {
+ override def paintComponent(gfx: Graphics) {
super.paintComponent(gfx)
val buffer = textarea.getBuffer
val theory_view = Isabelle.prover_setup(buffer).get.theory_view
@@ -87,12 +87,11 @@
paintCommand(c, buffer, document, gfx)
}
-override def getPreferredSize = new Dimension(10,0)
-
-private def lineToY(line : Int) : Int =
- (line * getHeight) / (textarea.getBuffer.getLineCount max textarea.getVisibleLines)
+ override def getPreferredSize = new Dimension(10,0)
-private def yToLine(y : Int) : Int =
- (y * (textarea.getBuffer.getLineCount max textarea.getVisibleLines)) / getHeight
+ private def lineToY(line : Int): Int =
+ (line * getHeight) / (textarea.getBuffer.getLineCount max textarea.getVisibleLines)
+ private def yToLine(y : Int): Int =
+ (y * (textarea.getBuffer.getLineCount max textarea.getVisibleLines)) / getHeight
}
\ No newline at end of file