src/Pure/PIDE/command.scala
changeset 61197 b9d69001824e
parent 60916 a6e2a667b0a8
child 61579 634cd44bb1d3
equal deleted inserted replaced
61196:67c20ce71d22 61197:b9d69001824e
   147     {
   147     {
   148       val markups1 = markups.redirect(other_command.id)
   148       val markups1 = markups.redirect(other_command.id)
   149       if (markups1.is_empty) None
   149       if (markups1.is_empty) None
   150       else Some(new State(other_command, Nil, Results.empty, markups1))
   150       else Some(new State(other_command, Nil, Results.empty, markups1))
   151     }
   151     }
   152 
       
   153     def eq_content(other: State): Boolean =
       
   154       command.source == other.command.source &&
       
   155       status == other.status &&
       
   156       results == other.results &&
       
   157       markups == other.markups
       
   158 
   152 
   159     private def add_status(st: Markup): State =
   153     private def add_status(st: Markup): State =
   160       copy(status = st :: status)
   154       copy(status = st :: status)
   161 
   155 
   162     private def add_markup(
   156     private def add_markup(