#426 Files in output window should be clickable-navigable

WinCvs
open
WinCvs (366)
3
2005-10-29
2005-10-26
No

Whenever a cvs update is performed, for instance, a
list of files are shown in the output window.
Double-clicking a file there should navigate
automatically to the appropriate location in WinCVS.

Discussion

  • Jerzy Kaczorowski

    • priority: 5 --> 3
     
  • Oliver Giesen

    Oliver Giesen - 2005-11-10

    Logged In: YES
    user_id=158827

    I guess a "Navigate to selected file" option in the console
    pane's context menu should actually be doable relatively
    easily... at least until you change the directory...
    otherwise one would have to store the base directory
    relating to the output somewhere as well - of course that's
    also doable but not quite as easily... just brainstorming
    really...

     
  • Kirill Müller

    Kirill Müller - 2006-02-10

    Logged In: YES
    user_id=1241036

    A relatively simple solution for that would be the
    following:

    - Enable auto URL detection in the console
    (EM_AUTOURLDETECT)
    - Output all file references as URLs, like file:///C:\My%
    20docs\MyFile.txt
    - Handle the appropriate notification message

    Drawback: Ugly file:/// URLs with absolute paths.

    A more sophisticated solution that wouldn't change the
    output would require the insertion of an invisible object
    into the rich edit control that would store the absolute
    position for that file. The file references would be marked
    as links (CFE_LINK) on output, and the notification message
    would look for the invisible object and get the absolute
    file path (and maybe even the working directory that was
    active when the message was created) from there.

    Nice idea, wouldn't have thought of it :-)

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks