src/Pure/PIDE/markup.scala
author wenzelm
Sat, 07 Apr 2012 19:28:44 +0200
changeset 47395 e6261a493f04
parent 45674 eb65c9d17e2f
child 49613 2f6986e2ef06
permissions -rw-r--r--
added static command status markup, to emphasize accepted but unassigned/unparsed commands (notably in overview panel);

/*  Title:      Pure/PIDE/markup.scala
    Module:     PIDE
    Author:     Makarius

Generic markup elements.
*/

package isabelle


object Markup
{
  /* properties */

  val NAME = "name"
  val Name = new Properties.String(NAME)

  val KIND = "kind"
  val Kind = new Properties.String(KIND)


  /* elements */

  val Empty = Markup("", Nil)
  val Data = Markup("data", Nil)
  val Broken = Markup("broken", Nil)
}


sealed case class Markup(name: String, properties: Properties.T)