author | wenzelm |
Mon, 18 Nov 2013 17:24:04 +0100 | |
changeset 54510 | 865712316b5f |
parent 54509 | 1f77110c94ef |
child 54511 | 1fd24c96ce9b |
--- a/src/Pure/PIDE/document.scala Mon Nov 18 17:16:56 2013 +0100 +++ b/src/Pure/PIDE/document.scala Mon Nov 18 17:24:04 2013 +0100 @@ -84,9 +84,9 @@ case other: Name => node == other.node case _ => false } - override def toString: String = theory def is_theory: Boolean = !theory.isEmpty + override def toString: String = if (is_theory) theory else node }