Bug 225557 - Same behavior for all folded region
Summary: Same behavior for all folded region
Status: RESOLVED FIXED
Alias: None
Product: DLTK
Classification: Technology
Component: Common (show other bugs)
Version: 0.95   Edit
Hardware: PC All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: dltk.common-inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: contributed
Depends on:
Blocks:
 
Reported: 2008-04-03 09:46 EDT by Edgar Espina CLA
Modified: 2010-06-11 07:15 EDT (History)
2 users (show)

See Also:


Attachments
patch (8.17 KB, patch)
2008-05-14 05:34 EDT, Alex Panchenko CLA
alex.panchenko: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Edgar Espina CLA 2008-04-03 09:46:09 EDT
I have more than one folded region and when I make a change outside this region all regions are expanded, except the "comment region".

It could be great if all region have the same behavior
Comment 1 Alex Panchenko CLA 2008-05-14 03:34:14 EDT
We create folding region from AST, but if module could not be parsed (contains syntax errors) we have no AST - so all code folding regions are destroyed.
Comment 2 Alex Panchenko CLA 2008-05-14 05:34:40 EDT
Created attachment 100137 [details]
patch

The changes in the attached patch: do not update folding if there are compile errors.

Legal Message: I, Alex Panchenko, declare that I developed attached code from scratch, without referencing any 3rd party materials except material licensed under the EPL. I am authorized by my employer (xored software, Inc.) to make this contribution under the EPL.
Comment 3 Andrei Sobolev CLA 2008-05-16 02:09:10 EDT
Applied.
Comment 4 Andrey Platov CLA 2008-05-26 02:55:32 EDT
bulk change: downgrading 1.0 to 0.95