src/Pure/PIDE/command.scala
changeset 52531 21f8e0e151f5
parent 52530 99dd8b4ef3fe
child 52535 b7badd371e4d
equal deleted inserted replaced
52530:99dd8b4ef3fe 52531:21f8e0e151f5
    73       markup == other.markup
    73       markup == other.markup
    74 
    74 
    75     private def add_status(st: Markup): State = copy(status = st :: status)
    75     private def add_status(st: Markup): State = copy(status = st :: status)
    76     private def add_markup(m: Text.Markup): State = copy(markup = markup + m)
    76     private def add_markup(m: Text.Markup): State = copy(markup = markup + m)
    77 
    77 
    78     def + (alt_id: Document_ID.ID, message: XML.Elem): State =
    78     def + (alt_id: Document_ID.Generic, message: XML.Elem): State =
    79       message match {
    79       message match {
    80         case XML.Elem(Markup(Markup.STATUS, _), msgs) =>
    80         case XML.Elem(Markup(Markup.STATUS, _), msgs) =>
    81           (this /: msgs)((state, msg) =>
    81           (this /: msgs)((state, msg) =>
    82             msg match {
    82             msg match {
    83               case elem @ XML.Elem(markup, Nil) =>
    83               case elem @ XML.Elem(markup, Nil) =>