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

Bug 333635

Summary: PHP editor freezes on large files
Product: z_Archived Reporter: velja.r
Component: PDTAssignee: Dawid Pakula <zulus>
Status: CLOSED FIXED QA Contact:
Severity: critical    
Priority: P3 CC: silviya, zhaozhongwei, zulus
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
php file that causes php editor to hang forever none

Description velja.r CLA 2011-01-06 05:02:09 EST
Build Identifier: 20100917-0705

Eclipse freezes when opening larger *.php file. php file. It is happening only when opening with php editor. If I use html editor to open same file it works normally. 

If you need any logs or additional info. Please tell me what you need and I will attach. It happens outside project to when I open file directly using open file procedure.

Reproducible: Always

Steps to Reproduce:
1. Open attached file in the php editor
2.
3.
Comment 1 velja.r CLA 2011-01-06 05:04:56 EST
Created attachment 186155 [details]
php file that causes php editor to hang forever
Comment 2 Zhongwei Zhao CLA 2011-01-06 06:01:36 EST
this bug has been fixed in head,but it is still slow!
Comment 3 Dawid Pakula CLA 2014-06-01 17:34:31 EDT
Problem is with folding provider.
Patch: https://git.eclipse.org/r/27675

This patch:
1. Suspend ProjectionViewerInformation while editor initialization and collect annotation changes
2. Run annotation changes queue in one update
Comment 5 Sylvia Tancheva CLA 2015-05-29 10:39:02 EDT
Verified with the attached file on current PDT. It's OK. Closing the bug