src/Pure/Thy/present.scala
changeset 69366 b6dacf6eabe3
parent 69362 77c93eaf6cb7
child 69374 ab66951166f3
--- a/src/Pure/Thy/present.scala	Wed Nov 28 15:38:18 2018 +0100
+++ b/src/Pure/Thy/present.scala	Wed Nov 28 16:14:31 2018 +0100
@@ -124,7 +124,7 @@
     val name = snapshot.node_name
 
     if (plain_text) {
-      val title = "File " + quote(name.path.base_name)
+      val title = "File " + quote(name.path.file_name)
       val content = output_document(title, HTML.text(snapshot.node.source))
       Preview(title, content)
     }
@@ -134,7 +134,7 @@
         case None =>
           val title =
             if (name.is_theory) "Theory " + quote(name.theory_base_name)
-            else "File " + quote(name.path.base_name)
+            else "File " + quote(name.path.file_name)
           val content = output_document(title, pide_document(snapshot))
           Preview(title, content)
       }