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

Bug 157759

Summary: string syntaxe error on large file slowdown the editor
Product: z_Archived Reporter: Jérémie Patonnier <jeremie.patonnier>
Component: PDTAssignee: Roy Ganor <ganoro>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P1 Keywords: plan
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Exemple of a large file with a string error none

Description Jérémie Patonnier CLA 2006-09-19 05:26:58 EDT
When you face a string syntaxe error (by omitting a final " or ') in a large file (more than 500 line after the error), the editor became very slow because it parse the whole file and find a lot of error (because of a "cascade" string syntaxe error) utile it find a good ending string delimitor !

Making this sort of error when typing code is very common.
Comment 1 Jérémie Patonnier CLA 2006-10-12 09:37:27 EDT
Created attachment 51850 [details]
Exemple of a large file with a string error

Here is a script with this sort of error. Any change in it slowdown the editor, due to an error on line 130. In fact, the editor seems to become slow if you worked on the file from a long time before the error occur.
Comment 2 Roy Ganor CLA 2007-01-30 10:38:57 EST
fixed to RC-2.

after editor model changes
Comment 3 Gadi Goldbarg CLA 2007-01-30 16:30:37 EST
thanks for the great example file