src/Pure/PIDE/command.scala
changeset 38658 20d82e98bcd7
parent 38637 03b27bd0505e
child 38714 31da698fc4e5
--- a/src/Pure/PIDE/command.scala	Mon Aug 23 20:50:00 2010 +0200
+++ b/src/Pure/PIDE/command.scala	Tue Aug 24 20:36:48 2010 +0200
@@ -26,10 +26,10 @@
 
     def add_markup(info: Text.Info[Any]): State = copy(markup = markup + info)
 
-    def markup_root_info: Text.Info[Any] =
+    def root_info: Text.Info[Any] =
       new Text.Info(command.range,
-        XML.Elem(Markup(Markup.STATUS, Nil), status.map(XML.Elem(_, Nil))))
-    def markup_root: Markup_Tree = markup + markup_root_info
+        XML.Elem(Markup(Markup.STATUS, Nil), status.reverse.map(XML.Elem(_, Nil))))
+    def root_markup: Markup_Tree = markup + root_info
 
 
     /* message dispatch */