I am using code folding in two ways:
1 - In my Styler I have added a number of Region Definitions which are used for code folding.
2 - In my application the user can highlight a section of code and fold that section.
I have found that the user added code fold will disappear when a line is deleted from the ADVmemo.
If I remove the Region Definition section from my styler I can add and delete lines without the code fold disappearing.
I have emailed a sample project which demonstrates the problem and would appreciate some advice on how to resolve this.