Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Hide Text Lines
Hide Text Lines [message #244788] Thu, 21 June 2007 16:28 Go to next message
Eclipse UserFriend
Originally posted by: pascal.weyprecht.objectFab.de

Hi, i want to hide some lines of text in the Java Editor.
I already extended the CompilationUnitEditor and made some other
changes, but i havn't found a way to hide lines like folding does,
but only single lines, so normal folding won't work.
Re: Hide Text Lines [message #244817 is a reply to message #244788] Fri, 22 June 2007 06:53 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jacek.pospychala.pl.ibm.com

Pascal Weyprecht wrote:
> Hi, i want to hide some lines of text in the Java Editor.
> I already extended the CompilationUnitEditor and made some other
> changes, but i havn't found a way to hide lines like folding does,
> but only single lines, so normal folding won't work.

Pascal,
there is an interesting article, that i think describes something
similar to what you want:
http://www.eclipse.org/articles/Article-Folding-in-Eclipse-T ext-Editors/folding.html
Re: Hide Text Lines [message #244862 is a reply to message #244817] Tue, 26 June 2007 07:37 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: pascal.weyprecht.objectFab.de

Jacek Pospychala wrote:
> Pascal Weyprecht wrote:
>> Hi, i want to hide some lines of text in the Java Editor.
>> I already extended the CompilationUnitEditor and made some other
>> changes, but i havn't found a way to hide lines like folding does,
>> but only single lines, so normal folding won't work.
>
> Pascal,
> there is an interesting article, that i think describes something
> similar to what you want:
> http://www.eclipse.org/articles/Article-Folding-in-Eclipse-T ext-Editors/folding.html
>

yes i read it already, but the problems are, i don't want to fold, so
only the first paragraph of the article is interesting to me and it's
discribted a little short. and the second problem is i want to integrate
it in the existing java editor (CompilationUnitEditor). so this article
isn't really helping. but thanks for trying.
Re: Hide Text Lines [message #244866 is a reply to message #244862] Tue, 26 June 2007 07:52 Go to previous message
Dani Megert is currently offline Dani MegertFriend
Messages: 3802
Registered: July 2009
Senior Member
Pascal Weyprecht wrote:

> Jacek Pospychala wrote:
>
>> Pascal Weyprecht wrote:
>>
>>> Hi, i want to hide some lines of text in the Java Editor.
>>> I already extended the CompilationUnitEditor and made some other
>>> changes, but i havn't found a way to hide lines like folding does,
>>> but only single lines, so normal folding won't work.
>>
>>
>> Pascal,
>> there is an interesting article, that i think describes something
>> similar to what you want:
>> http://www.eclipse.org/articles/Article-Folding-in-Eclipse-T ext-Editors/folding.html
>>
>
>
> yes i read it already, but the problems are, i don't want to fold, so
> only the first paragraph of the article is interesting to me and it's
> discribted a little short. and the second problem is i want to
> integrate it in the existing java editor (CompilationUnitEditor). so
> this article isn't really helping. but thanks for trying.

Except for showing one (i.e. 1) single region out of a full document
(this is the Show Selected Element Only thing) there's no built in
support. You have to do this on your own. Regarding the
CompilationUnitEditor your out of luck as this is internal code.

Dani
Previous Topic:How to do a trace from a Java console program ?
Next Topic:IType lookup from qualified name
Goto Forum:
  


Current Time: Tue Jul 16 11:23:56 GMT 2024

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

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

Back to the top