Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » hide some text in text editor
hide some text in text editor [message #302753] Fri, 28 April 2006 06: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 07:11 Go to previous message
Tom Hofmann is currently offline Tom HofmannFriend
Messages: 770
Registered: July 2009
Senior Member
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 Sep 08 03:28:50 GMT 2024

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

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

Back to the top