src/Tools/jEdit/src/jedit_rendering.scala
changeset 65246 848965b5befc
parent 65213 51c0f094dc02
child 65247 63d91d5de121
--- a/src/Tools/jEdit/src/jedit_rendering.scala	Tue Mar 14 21:36:27 2017 +0100
+++ b/src/Tools/jEdit/src/jedit_rendering.scala	Tue Mar 14 21:43:54 2017 +0100
@@ -298,37 +298,37 @@
 
   /* hyperlinks */
 
-  def hyperlink(range: Text.Range): Option[Text.Info[PIDE.editor.Hyperlink]] =
+  def hyperlink(range: Text.Range): Option[Text.Info[JEdit_Editor.Hyperlink]] =
   {
-    snapshot.cumulate[Vector[Text.Info[PIDE.editor.Hyperlink]]](
+    snapshot.cumulate[Vector[Text.Info[JEdit_Editor.Hyperlink]]](
       range, Vector.empty, JEdit_Rendering.hyperlink_elements, _ =>
         {
           case (links, Text.Info(info_range, XML.Elem(Markup.Path(name), _))) =>
             val file = PIDE.resources.append_file(snapshot.node_name.master_dir, name)
-            val link = PIDE.editor.hyperlink_file(true, file)
+            val link = JEdit_Editor.hyperlink_file(true, file)
             Some(links :+ Text.Info(snapshot.convert(info_range), link))
 
           case (links, Text.Info(info_range, XML.Elem(Markup.Doc(name), _))) =>
-            PIDE.editor.hyperlink_doc(name).map(link =>
+            JEdit_Editor.hyperlink_doc(name).map(link =>
               (links :+ Text.Info(snapshot.convert(info_range), link)))
 
           case (links, Text.Info(info_range, XML.Elem(Markup.Url(name), _))) =>
-            val link = PIDE.editor.hyperlink_url(name)
+            val link = JEdit_Editor.hyperlink_url(name)
             Some(links :+ Text.Info(snapshot.convert(info_range), link))
 
           case (links, Text.Info(info_range, XML.Elem(Markup(Markup.ENTITY, props), _))) =>
-            val opt_link = PIDE.editor.hyperlink_def_position(true, snapshot, props)
+            val opt_link = JEdit_Editor.hyperlink_def_position(true, snapshot, props)
             opt_link.map(link => links :+ Text.Info(snapshot.convert(info_range), link))
 
           case (links, Text.Info(info_range, XML.Elem(Markup(Markup.POSITION, props), _))) =>
-            val opt_link = PIDE.editor.hyperlink_position(true, snapshot, props)
+            val opt_link = JEdit_Editor.hyperlink_position(true, snapshot, props)
             opt_link.map(link => links :+ Text.Info(snapshot.convert(info_range), link))
 
           case (links, Text.Info(info_range, XML.Elem(Markup.Citation(name), _))) =>
             val opt_link =
               Document_Model.bibtex_entries_iterator.collectFirst(
                 { case Text.Info(entry_range, (entry, model)) if entry == name =>
-                    PIDE.editor.hyperlink_model(true, model, entry_range.start) })
+                    JEdit_Editor.hyperlink_model(true, model, entry_range.start) })
             opt_link.map(link => links :+ Text.Info(snapshot.convert(info_range), link))
 
           case _ => None