|
|
Re: ProjectAnnotation not persisted? [message #327897 is a reply to message #327838] |
Wed, 07 May 2008 18:56 |
Eclipse User |
|
|
|
Originally posted by: koester.matthias.gmx.de
Hi Dani,
Thx for the hint... I think I've unfolded imports in the Java editor,
closed them, closed the editor and re-opened the file... with the
default behaviour of initially folding import statements... Just not a
good test case for checking if the java editor persists the folding
information ;-)
Greetings,
Matthias
Daniel Megert schrieb:
> Matthias Köster wrote:
>> Hi,
>>
>> I've added code folding to my editor as described in
>> http://www.eclipse.org/articles/Article-Folding-in-Eclipse-T ext-Editors/folding.html.
>> But when I change the folding of an edited file, close that file and
>> reopen it, I see the whole document without any folded text. I thought
>> that ProjectAnnotations are automatically persisted (although in their
>> constructur isPersitent is set to false...) and haven't seen any
>> special saving code in the JavaEditor. Has someone an idea what might
>> be wrong with my code?
> Nothing. They aren't persisted and the Java editor also doesn't persist
> them.
>
> Dani
>>
>> Regards,
>> matthias
|
|
|
Powered by
FUDForum. Page generated in 0.06953 seconds