more prominent status ticks;
authorwenzelm
Mon, 14 Jan 2013 23:08:40 +0100
changeset 50895 3a1edaa0dc6d
parent 50894 a9c1b1428e87
child 50896 fb0fcd278ac5
child 50899 506ff6abfde0
more prominent status ticks; is_running takes priority -- important to spot unstable parts that are re-run after edits;
src/Tools/jEdit/src/rendering.scala
src/Tools/jEdit/src/text_overview.scala
src/Tools/jEdit/src/theories_dockable.scala
--- a/src/Tools/jEdit/src/rendering.scala	Mon Jan 14 22:33:53 2013 +0100
+++ b/src/Tools/jEdit/src/rendering.scala	Mon Jan 14 23:08:40 2013 +0100
@@ -180,10 +180,10 @@
           ((Protocol.Status.init, 0) /: results) {
             case ((s1, p1), Text.Info(_, (s2, p2))) => (s1 + s2, p1 max p2) }
 
-        if (pri == Rendering.warning_pri) Some(warning_color)
+        if (status.is_running) Some(running_color)
+        else if (pri == Rendering.warning_pri) Some(warning_color)
         else if (pri == Rendering.error_pri) Some(error_color)
         else if (status.is_unprocessed) Some(unprocessed_color)
-        else if (status.is_running) Some(running_color)
         else if (status.is_failed) Some(error_color)
         else None
       }
--- a/src/Tools/jEdit/src/text_overview.scala	Mon Jan 14 22:33:53 2013 +0100
+++ b/src/Tools/jEdit/src/text_overview.scala	Mon Jan 14 23:08:40 2013 +0100
@@ -22,7 +22,7 @@
   private val buffer = doc_view.model.buffer
 
   private val WIDTH = 10
-  private val HEIGHT = 2
+  private val HEIGHT = 4
 
   private def lines(): Int = buffer.getLineCount max text_area.getVisibleLines
 
--- a/src/Tools/jEdit/src/theories_dockable.scala	Mon Jan 14 22:33:53 2013 +0100
+++ b/src/Tools/jEdit/src/theories_dockable.scala	Mon Jan 14 23:08:40 2013 +0100
@@ -99,7 +99,7 @@
               (st.failed, PIDE.options.color_value("error_color"))) }
           {
             gfx.setColor(color)
-            val v = (n * w / st.total) max (if (n > 0) 2 else 0)
+            val v = (n * w / st.total) max (if (n > 0) 4 else 0)
             gfx.fillRect(end - v, insets.top, v, h)
             end -= v
           }