suppress already persistent state output as well;
authorwenzelm
Mon, 09 Nov 2015 13:49:29 +0100
changeset 61603 2abbe7d700e9
parent 61602 a2f0f659a3c2
child 61604 bb20f11dd842
suppress already persistent state output as well;
src/Tools/jEdit/src/rendering.scala
--- a/src/Tools/jEdit/src/rendering.scala	Sun Nov 08 14:41:07 2015 +0100
+++ b/src/Tools/jEdit/src/rendering.scala	Mon Nov 09 13:49:29 2015 +0100
@@ -678,7 +678,7 @@
     val (states, other) =
       results.iterator.map(_._2).filterNot(Protocol.is_result(_)).toList
         .partition(Protocol.is_state(_))
-    states ::: other
+    if (options.bool("editor_output_state")) states ::: other else other
   }