scala-ide/scala-ide — pull request #107 by dragos (2012-05-11 14:16:32+00:00)
Title: Implicit hyperlinks should not resolve target eagarly

Small refactoring in the hyperlinking code, plus fixing the implicit hyperlinks to resolve the target only when the user wants to hyperlink:

- removed the abstract classes for Implicit and Declaration hyperlink factories, and
created a simpler factory method that sets the `text` of the hyperlink
- added documentation on `HyperlinkFactory`
- moved some object declarations so that they're reused between method calls
- made implicit hyperlinks lazy. This saves a lot of time when editing large files. There
is no need to compute the target of an implicit hyperlink before the user tries to hyperlink to it,
since this leads to lots of files being loaded in the background.
- fixed the length of the selection when following a hyperlink (using the target name length, instead of the
source word length, which is usually not the same for implicits).