On 8/14/2007 12:04:32 AM, Ian Davies wrote:
>In the meantime I have often pondered on how useful it
>would be if a sort of hyperlink could be embedded in
>the plain text such that by clicking on a link it would
>take me to the appropriate place in the document. Perhaps
>this already exists.
Why don't you use the bookmarks?
With bookmarks, you do not need to add any hyperlinks, just store the bookmark and then you can jump to that location from wherever you are inside the file.
Remember that bookmarks are saved with projects.
You can use bookmarks more interactively by using my Markers.vdm macro. It displays list of all bookmarks with piece of text at that location, so you can more easily identify the bookmarks.
Another method to do "hyperlinks" is to add any unique piece of text at target location, and the same text e.g. at the beginning of the file. Then use search to find the location.
On my keyboard, I have configured numpad + and - keys to search for highlighted block forward and backwards, respectively. This makes it very easy to find text (usefull for searching variables etc. in source code, too).
You could even add the id texts (with descriptions) in a separate file and then use Wildfile to search for the text in all files. This could be used as kind of global bookmarks.