Hyperlinks in Texteditor [message #450739] |
Thu, 17 February 2005 08:42  |
Eclipse User |
|
|
|
This is a multipart message in MIME format.
--=_alternative 004B5974C1256FAB_=
Content-Type: text/plain; charset="US-ASCII"
Hi,
are there any tutorials on how to create hyperlinks in a texteditor. I
want to do hyperlinks like the Java editor does. Can anyone point me to
some samples ?
thx in advance
-Philipp
--=_alternative 004B5974C1256FAB_=
Content-Type: text/html; charset="US-ASCII"
<br><font size=2 face="sans-serif">Hi,</font>
<br>
<br><font size=2 face="sans-serif">are there any tutorials on how to create
hyperlinks in a texteditor. I want to do hyperlinks like the Java editor
does. Can anyone point me to some samples ?</font>
<br>
<br><font size=2 face="sans-serif">thx in advance</font>
<br><font size=2 face="sans-serif">-Philipp</font>
--=_alternative 004B5974C1256FAB_=--
|
|
|
|
|
Re: Hyperlinks in Texteditor [message #450767 is a reply to message #450741] |
Thu, 17 February 2005 16:47  |
Eclipse User |
|
|
|
Perhaps try TextViewer.setTextDoubleClickStrategy(...). That would
perhaps give you the text region that you can manipulate with, e.g.,
copy, parse, replace, find, etc.
philipp_tiedt@de.ibm.com wrote:
>
> I found out that hyperlink support for texteditors is supported since
> 3.1 M4 only. As I have to use 3.0 I cannot use that feature. Is there
> any way to implement hyperlinks manually?
>
> Philipp
|
|
|
Powered by
FUDForum. Page generated in 0.25016 seconds