Menu

#233 XML and Hyperlinks plugin

closed
None
5
2012-03-13
2011-03-29
Alan Ezust
No

Hyperlinks plugin allows you to turn parts of the text editor into clickable hyperlinks.

It would be nice if the XML plugin, once it has parsed an XML document, would make the
<xref linkend="IDREF"> as well as <xi:include href="URLLREF"> into clickable hyperlinks that would open the document in jEdit's editor, at the right place.

I think only attribute value should be hyperlinked, not the entire element.

Discussion

  • Matthieu Casanova

    Very good idea, if the xi:include contains an url (like http://something\) the Hyperlinks plugin should already work, for the idref there is a little more work, I can help the one who will try to implement that, it is really easy to do I think.

     
  • Alan Ezust

    Alan Ezust - 2011-03-29

    The URLs in an xi:include can be relative paths without any ./ or http:// prefix. Which is why they are not currently picked up by the hyperlinks plugin.

    We need to use the context of the element to decide whether it is a url to look at.
    You can look at jEdit trunk users-guide for examples of <xi:includes as well as <xref linkend= for testing.
    (as well as simpler example docs in the xml plugin testcases directory).

     
  • Alan Ezust

    Alan Ezust - 2011-06-28
    • assigned_to: nobody --> kerik-sf
     
  • Alan Ezust

    Alan Ezust - 2011-06-28

    assigning to eric le lay. Please ask kpouer for help from the hyperlinks side.

     
  • Eric Le Lay

    Eric Le Lay - 2011-10-01

    implemented in r19671, r19676, r19677, r19678, r19680, r20036

     
  • Eric Le Lay

    Eric Le Lay - 2011-10-01
    • status: open --> pending
     
  • Jarek Czekalski

    Jarek Czekalski - 2012-03-13
    • status: pending --> closed
     

Log in to post a comment.

MongoDB Logo MongoDB