Menu

#1 hyperlinks - available?

open
None
5
2002-05-21
2002-05-20
Anonymous
No

I saw the reference in the documentation, but I can
find no way to use the feature. Is it available?

Also: Is there a way to make single clicks (instead of
double) expand/collapse?

Discussion

  • Maynard Demmon

    Maynard Demmon - 2002-05-21
    • assigned_to: nobody --> maynardd
     
  • Maynard Demmon

    Maynard Demmon - 2002-05-21

    Logged In: YES
    user_id=102030

    There is currently no way to directly make use of
    hyperlinking. Was this reference in the API documentation
    or in user documentation, so I can clarify the current
    state of the code? I would like to add hyperlink
    functionality at some point but haven't gotten around to it.

    I'll do a little investigation on the single click expand
    collapse and see how feasible it is.

     
  • Maynard Demmon

    Maynard Demmon - 2002-05-21

    Logged In: YES
    user_id=102030

    I looked into the single click expand/collapse. It's pretty
    easy to do but the UI gets a bit awkward with some of the
    new shift-doubleclick functionality I've added post 1.8.8.
    However, If you want to make this change to your own
    release the code changes to IconKeyListener.java are very
    minor. Here they are :

    1) Comment out the following two lines in the
    processDoubleClick method at about line 183:

    //textArea.node.getTree().setSelectedNodesParent
    (textArea.node.getParent());
    //textArea.node.getTree().addNodeToSelection(textArea.node);

    2) Add a processDoubleClick(e) at about line 106:

    if ((e.getClickCount() % 2) == 1) {
    processSingleClick(e);
    processDoubleClick(e);
    } else if ((e.getClickCount() % 2) == 0){
    processDoubleClick(e);
    }

     
  • Maynard Demmon

    Maynard Demmon - 2002-05-21

    Logged In: YES
    user_id=102030

    I added a "Single click expands/collapses nodes" preference
    to the "Editor" preferences panel. This will be available
    in the 1.8.9 release.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.