Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » hide some text in text editor
hide some text in text editor [message #302753] Fri, 28 April 2006 02:59 Go to next message
Eclipse UserFriend
Originally posted by: jacekp.siat.pl

hello!
I would like to hide some text in my text editor, for example all
sequences in square brackets. Do you know some simple way to do this?
As for now, I was trying with modified ProjectionViewer, so the
sequences in square brackets got annotations and were managed by folding
mechanisms, but it is not very reliable.

--
Jacek Pospychała
http://jacekp.siat.pl
Re: hide some text in text editor [message #302756 is a reply to message #302753] Fri, 28 April 2006 03:11 Go to previous message
Eclipse UserFriend
Hi Jacek,

The projection model can handle arbitrarily folded regions, but
ProjectionViewer only supports folding of entire lines. So, from an
Eclipse text framework view, you are out of luck with your request...

-tom

Jacek Pospychała wrote:
> hello!
> I would like to hide some text in my text editor, for example all
> sequences in square brackets. Do you know some simple way to do this?
> As for now, I was trying with modified ProjectionViewer, so the
> sequences in square brackets got annotations and were managed by folding
> mechanisms, but it is not very reliable.
>
Previous Topic:Notifying a different view when the user clicks a context menu in a view
Next Topic:JSP / HTML in eclipse
Goto Forum:
  


Current Time: Sun May 11 14:48:13 EDT 2025

Powered by FUDForum. Page generated in 0.02596 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top