Bug 403358 - [projection] Uncollapsing anonymous classes is not recorded properly
Summary: [projection] Uncollapsing anonymous classes is not recorded properly
Status: RESOLVED WORKSFORME
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 4.2.2   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: JDT-Text-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-14 11:50 EDT by Palmer Eldritch CLA
Modified: 2013-03-14 12:47 EDT (History)
2 users (show)

See Also:


Attachments
screen showing the uncomplete unfolding of a collapsed class (437.57 KB, image/jpeg)
2013-03-14 11:50 EDT, Palmer Eldritch CLA
no flags Details
file where the behavior described in the OP occurs (line 121) (9.16 KB, text/x-java)
2013-03-14 11:52 EDT, Palmer Eldritch CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Palmer Eldritch CLA 2013-03-14 11:50:26 EDT
Created attachment 228423 [details]
screen showing the uncomplete unfolding of a collapsed class

In the attached picture I have just clicked on the + sign where the cursor is. If I hover over the + I see the tooltip with the (now unfolded) class as if it were still collapsed. Notice also the ... boxes at the end of each line.

That is not the only example of unfolding not quite doing it but this is clear enough
Comment 1 Palmer Eldritch CLA 2013-03-14 11:52:35 EDT
Created attachment 228424 [details]
file where the behavior described in the OP occurs (line 121)
Comment 2 Srikanth Sankaran CLA 2013-03-14 12:35:04 EDT
Does this belong in JDT/Text ?
Comment 3 Dani Megert CLA 2013-03-14 12:47:42 EDT
I can't reproduce this on our 4.3 M6 candidate:
http://download.eclipse.org/eclipse/downloads/drops4/I20130313-2000/

1. install the build
2. start new workspace
3. paste the attached file's text into the Package Explorer
4. goto line 121
5. collapse and expand

==> works fine. I also tried other combinations and they worked fine.


If you still see this with the mentioned (or a newer) build, then please reopen and if possible provide more detailed steps.