Hide Text Lines [message #244788] |
Thu, 21 June 2007 16:28 ![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: 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 #244862 is a reply to message #244817] |
Tue, 26 June 2007 07:37 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) ![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: 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 Go to previous message](theme/Solstice/images/up.png) |
Dani Megert![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=Daniel_Megert%40ch.ibm.com) 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
|
|
|
Powered by
FUDForum. Page generated in 0.03827 seconds