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

Bug 322181

Summary: Erractic behaviour in long PHP file +3400 lines
Product: z_Archived Reporter: Kristian Wiborg <kristianwiborg>
Component: PDTAssignee: PHP UI <php.ui-inbox>
Status: CLOSED FIXED QA Contact:
Severity: critical    
Priority: P3 CC: silviya
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows Vista   
Whiteboard:
Attachments:
Description Flags
Export of the error log none

Description Kristian Wiborg CLA 2010-08-09 15:41:05 EDT
Build Identifier: 20100617-1415

I have great difficulty when editing a large PHP file with more than 3400 lines of code. I have just started using Eclipse so the platform is still new to me... so please excuse me if this bug-report is not very acurate. I have posted this as a critical error because I have to close the file (without saving) and reopen it. I have experienced that my code becomes completly broken and sometimes I can't ineteract edit code af thise errors. I can save the file, but I don't want to do that because it would be really bad if it saves it the way it displays it. I think it could have something to do with validation. Last I started getting errors there was a syntax error (a missing "}"). It appeared that the problems started when Eclipse detected this syntax error. But I have also experienced problem when hust trying to indent a block of code with the tab-key. The last time it happened the editor generated about 40 error entries in the Error Log. 

Reproducible: Sometimes

Steps to Reproduce:
1. Open a long file
2. Edit the file
3. Maybe create a syntax error that will get caught be PHP-validation
Comment 1 Kristian Wiborg CLA 2010-08-09 15:44:25 EDT
Created attachment 176183 [details]
Export of the error log
Comment 2 Zhongwei Zhao CLA 2010-08-09 20:44:26 EDT
according to the error log,I think some of the exceptions have been fixed,let QA to varify if this bug still could be reproduced.Thanks!
Comment 3 Sylvia Tancheva CLA 2010-09-03 08:04:27 EDT
I opened a 10000+ file for editing.
Yes, it was slower than in small files, but I did not get a single error in the log. I did editing, content assist, save ... Nothing appeared in the log.
Closing the bug - please if you still experience this problem, reopen and give more info to help reproduction. Thanks.
(PDT 2.2.1.v20100822)