Bug 128162 - [projection] it looks like projections get updated upon closing the editor
Summary: [projection] it looks like projections get updated upon closing the editor
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 3.2   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.2 M6   Edit
Assignee: Tom Hofmann CLA
QA Contact:
URL:
Whiteboard:
Keywords: investigate, performance
Depends on:
Blocks:
 
Reported: 2006-02-16 03:10 EST by Dani Megert CLA
Modified: 2006-02-17 10:49 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dani Megert CLA 2006-02-16 03:10:47 EST
I2006020216-0010

It looks like projections get updated upon closing the Java editor
Comment 1 Tom Hofmann CLA 2006-02-17 09:06:10 EST
I tested with I20060216-2000 and could not find any indication that the folding structure was being computed too much on GTK - in fact, it was only computed once for each CU. This can be easily verified by putting a breakpoint into DefaultJavaFoldingStructureProvider::computeFoldingStructure/1.
Comment 2 Dani Megert CLA 2006-02-17 10:48:18 EST
I disagree ;-)
Comment 3 Dani Megert CLA 2006-02-17 10:49:09 EST
Upon setting the document to 'null' enableProjection() is called which triggers a reconcile() on the (closed) CU.

Fixed in HEAD.
Available in builds > 3.2 M5.