Hiding text in an editor [message #111628] |
Mon, 18 August 2003 06:54 ![Go to next message Go to next message](theme/Solstice/images/down.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
Originally posted by: btcoxx.cs.wm.edu
Hello,
I'm trying to develop an editor extension that will allow the user to hide
portions of text.
So far I've been trying to do this by modifying the code from TextEditor
(org.eclipse.ui.editors.text.TextEditor). I have tried changing
SourceViewer to ProjectionSourceViewer but have been unable to get it to
work.
Can anyone point me toward an example of an editor that hides portions of
text? Or does anyone know the best way (or any way) to implement this?
Thanks in advance.
-Benjamin
|
|
|
Re: Hiding text in an editor [message #111661 is a reply to message #111628] |
Mon, 18 August 2003 08:28 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
Originally posted by: tom.eicher.gmx.ch.nodomain
Note that text folding is no the plan for eclipse 3.0:
http://dev.eclipse.org/viewcvs/index.cgi/~checkout~/platform -text-home/plan.html#Overall_Planning
-tom
Benjamin Cox wrote:
> Hello,
>
> I'm trying to develop an editor extension that will allow the user to hide
> portions of text.
>
> So far I've been trying to do this by modifying the code from TextEditor
> (org.eclipse.ui.editors.text.TextEditor). I have tried changing
> SourceViewer to ProjectionSourceViewer but have been unable to get it to
> work.
>
> Can anyone point me toward an example of an editor that hides portions of
> text? Or does anyone know the best way (or any way) to implement this?
>
> Thanks in advance.
> -Benjamin
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.02987 seconds