src/Tools/jEdit/src/rendering.scala
changeset 57914 cbc55e5091a1
parent 57691 9616643a3032
child 57931 4e2cbff02f23
--- a/src/Tools/jEdit/src/rendering.scala	Tue Aug 12 16:10:59 2014 +0200
+++ b/src/Tools/jEdit/src/rendering.scala	Tue Aug 12 16:20:09 2014 +0200
@@ -378,6 +378,8 @@
                   PIDE.editor.hyperlink_source_file(name, line, offset)
                 case Position.Def_Id_Offset(id, offset) =>
                   PIDE.editor.hyperlink_command_id(snapshot, id, offset)
+                case Position.Def_Id(id) =>
+                  PIDE.editor.hyperlink_command_id(snapshot, id)
                 case _ => None
               }
             opt_link.map(link => (links :+ Text.Info(snapshot.convert(info_range), link)))
@@ -390,6 +392,8 @@
                   PIDE.editor.hyperlink_source_file(name, line, offset)
                 case Position.Id_Offset(id, offset) =>
                   PIDE.editor.hyperlink_command_id(snapshot, id, offset)
+                case Position.Id(id) =>
+                  PIDE.editor.hyperlink_command_id(snapshot, id)
                 case _ => None
               }
             opt_link.map(link => (links :+ Text.Info(snapshot.convert(info_range), link)))