Bug 44290 - Don't get changed delta when changing the content without causing a structural change
Summary: Don't get changed delta when changing the content without causing a structura...
Status: RESOLVED DUPLICATE of bug 32639
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-07 06:52 EDT by Dirk Baeumer CLA
Modified: 2003-10-07 12:48 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dirk Baeumer CLA 2003-10-07 06:52:08 EDT
To flush the refactoring undo listener we are listening to Java model deltas. 
In the past we got a delta for the original CU when a working copy got saved. 
This isn't the case anymore which primary working copies since the structure 
didn't change. But to flush the undo stack we somehow need an indication that 
a CU got saved.

For M4 we can flush the undo listener whenever the working copy changes, which 
flushes to often but at least flushes ;-).
Comment 1 Jerome Lanneluc CLA 2003-10-07 11:01:47 EDT
Martin said you didn't need it. What do you want?
Comment 2 Dirk Baeumer CLA 2003-10-07 12:13:24 EDT
I discussed it with Martin and the problem is triggered by the fact that we 
don't get a changed delta when the user types into a compilation unit without 
causing structural changes. 

I will change the title to reflect this. A delta on save isn't needed.
Comment 3 Jerome Lanneluc CLA 2003-10-07 12:48:58 EDT

*** This bug has been marked as a duplicate of 32639 ***