src/Tools/jEdit/src/proofdocument/Text.scala
author immler@in.tum.de
Thu, 19 Feb 2009 20:44:28 +0100
changeset 34526 b504abb6eff6
parent 34493 0ffbc5ce9654
child 34532 aaafe9c4180b
permissions -rw-r--r--
tokens and commands as lists

/*
 * Text as event source
 *
 * @author Johannes Hölzl, TU Munich
 */

package isabelle.proofdocument


object Text {
  case class Change(start: Int, val added: String, val removed: Int) {
    override def toString = "start: " + start + " added: " + added + " removed: " + removed
  }
}

trait Text {
  def changes: EventBus[Text.Change]
}