src/Pure/PIDE/rendering.scala
changeset 72727 2da1993fe903
parent 72692 22aeec526ffd
child 72729 83411077c37b
equal deleted inserted replaced
72726:ec6a27bbdab8 72727:2da1993fe903
    95     error_pri -> Color.error_message)
    95     error_pri -> Color.error_message)
    96 
    96 
    97   def output_messages(results: Command.Results): List[XML.Tree] =
    97   def output_messages(results: Command.Results): List[XML.Tree] =
    98   {
    98   {
    99     val (states, other) =
    99     val (states, other) =
   100       results.iterator.map(_._2).filterNot(Protocol.is_result(_)).toList
   100       results.iterator.map(_._2).filterNot(Protocol.is_result).toList
   101         .partition(Protocol.is_state(_))
   101         .partition(Protocol.is_state)
   102     states ::: other
   102     states ::: other
   103   }
   103   }
   104 
   104 
   105 
   105 
   106   /* text color */
   106   /* text color */