Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 220936

Summary: Editor window becomes corrupted in a random way when working with big files
Product: z_Archived Reporter: Andrew Quaglia <nemo>
Component: PDTAssignee: Roy Ganor <ganoro>
Status: CLOSED FIXED QA Contact:
Severity: major    
Priority: P1 CC: assaf.almaz, gadi, hebrayah, kalin.a, nemo
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Eclipse error log and configuration none

Description Andrew Quaglia CLA 2008-02-29 08:59:45 EST
Created attachment 91176 [details]
Eclipse error log and configuration

Build ID: I20070625-1500

Steps To Reproduce:
1. Open a PHP project.
2. work with files
3. when you type a mistake, or try to modify an incomplete statement the code assist marks it in red, then (in a random way):
3a. braces disappear
3b. the cursor is in a line, but as you type characters appear/disappear elsewhere
3c. happened only once, but Eclipse freezed
4. closing the window fixes temporarly.


More information:
Comment 1 Assaf Almaz CLA 2008-03-22 11:05:51 EDT
this problem is related to the code folding issues:
when you have code folding enabled and you start writting errors
the parser breaks and the code below the error (that the parser could not complete its processing) starts:
1. flickering (always when using ctrl+z or start deleting chars), 
2. its color changes (sometimes) 
3. the caret loaction jumps to random locations (random)

It has to do with the changes that were done to the code folding mechanism.
A similar bug was solved by Shalom in previous implementation of code folding
Comment 2 Assaf Almaz CLA 2008-03-22 11:09:42 EDT
*** Bug 221841 has been marked as a duplicate of this bug. ***
Comment 3 Ido Graiman CLA 2008-04-30 03:28:57 EDT
Another side effect of this problem (which is definitely related to the code folding) is that some parts of the code (entire lines) simply disappear. 
For example, while code folding is enabled, you may see some parts of your code (which are expended) missing. However, if you look closely at the line numbers you'll notice that the lines are there, but not shown (as if they were collapsed).
Hope this help.
Comment 4 Roy Ganor CLA 2008-05-25 08:03:46 EDT
fixed.

Comment 5 Gadi Goldbarg CLA 2008-09-29 06:19:28 EDT
Verified Fixed.
Tested under Eclipse SDK
Version: 3.4.1
Build id: M20080911-1700

PDT 2.0.0 v20080923-1839

[Kalin Yanev kalin.a@zend.com]