tuned;
authorwenzelm
Thu, 11 Oct 2012 12:37:38 +0200
changeset 49815 e4f87bd5f223
parent 49814 0aaed83532e1
child 49816 e63d6c55ad6d
tuned;
src/Tools/jEdit/src/isabelle_rendering.scala
--- a/src/Tools/jEdit/src/isabelle_rendering.scala	Thu Oct 11 00:13:21 2012 +0200
+++ b/src/Tools/jEdit/src/isabelle_rendering.scala	Thu Oct 11 12:37:38 2012 +0200
@@ -211,10 +211,10 @@
             Text.Info(snapshot.convert(info_range), Hyperlink(jedit_file, 0, 0)) :: links
 
           case (links, Text.Info(info_range, XML.Elem(Markup(Isabelle_Markup.ENTITY, props), _)))
-          if (props.find(
+          if !props.exists(
             { case (Markup.KIND, Isabelle_Markup.ML_OPEN) => true
               case (Markup.KIND, Isabelle_Markup.ML_STRUCT) => true
-              case _ => false }).isEmpty) =>
+              case _ => false }) =>
 
             props match {
               case Position.Def_Line_File(line, name) if Path.is_ok(name) =>