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

Bug 348137

Summary: [client] [textmatestyler] Change that affects no regions should be fast
Product: [ECD] Orion Reporter: Mark Macdonald <mamacdon>
Component: EditorAssignee: Mark Macdonald <mamacdon>
Status: RESOLVED WONTFIX QA Contact:
Severity: normal    
Priority: P3    
Version: 0.2   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Mark Macdonald CLA 2011-06-02 16:07:10 EDT
If you make a change to a file and there are no begin..end regions at all, the repairer is degrading to worst-case behaviour (ie. parsing the whole file again).

Since no begin..end regions are affected, only the line(s) you actually changed should be considered damaged, and nothing more needs to be re-parsed.
Comment 1 Mark Macdonald CLA 2011-06-06 12:05:52 EDT
This has improved: it no longer parses the whole file again. But I think it's still doing more than it needs to.
Comment 2 Mark Macdonald CLA 2011-06-10 12:33:16 EDT
The performance has been acceptable so far. Will investigate further after 0.2
Comment 3 John Arthorne CLA 2015-05-05 14:52:20 EDT
Closing as part of a mass clean up of inactive bugs. Please reopen if this problem still occurs or is relevant to you. For more details see:

https://dev.eclipse.org/mhonarc/lists/orion-dev/msg03444.html