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.
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...
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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 :-)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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...
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 :-)