src/Tools/jEdit/src/jedit_rendering.scala
changeset 65487 7847807b07ce
parent 65332 7dbb780f24a9
child 65488 331f09d9535e
equal deleted inserted replaced
65485:8c7bc3a13513 65487:7847807b07ce
   302   {
   302   {
   303     snapshot.cumulate[Vector[Text.Info[JEdit_Editor.Hyperlink]]](
   303     snapshot.cumulate[Vector[Text.Info[JEdit_Editor.Hyperlink]]](
   304       range, Vector.empty, JEdit_Rendering.hyperlink_elements, _ =>
   304       range, Vector.empty, JEdit_Rendering.hyperlink_elements, _ =>
   305         {
   305         {
   306           case (links, Text.Info(info_range, XML.Elem(Markup.Path(name), _))) =>
   306           case (links, Text.Info(info_range, XML.Elem(Markup.Path(name), _))) =>
   307             val file = PIDE.resources.append_file(snapshot.node_name.master_dir, name)
   307             val file = perhaps_append_file(snapshot.node_name.master_dir, name)
   308             val link = JEdit_Editor.hyperlink_file(true, file)
   308             val link = JEdit_Editor.hyperlink_file(true, file)
   309             Some(links :+ Text.Info(snapshot.convert(info_range), link))
   309             Some(links :+ Text.Info(snapshot.convert(info_range), link))
   310 
   310 
   311           case (links, Text.Info(info_range, XML.Elem(Markup.Doc(name), _))) =>
   311           case (links, Text.Info(info_range, XML.Elem(Markup.Doc(name), _))) =>
   312             JEdit_Editor.hyperlink_doc(name).map(link =>
   312             JEdit_Editor.hyperlink_doc(name).map(link =>