Bug 682867

Summary: Code folding interferes with line rendering
Product: [Mono] MonoDevelop Reporter: IB Board <ibboard>
Component: texteditorAssignee: Mike Krueger <mkrueger>
Status: RESOLVED DUPLICATE QA Contact: MD Bugs <monodevelop-bugs>
Severity: Major    
Priority: P5 - None    
Version: SVN   
Target Milestone: ---   
Hardware: x86-64   
OS: openSUSE 11.4   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: Test project with instructions for recreating
Screenshot of borked rendering after following steps

Description IB Board 2011-03-26 20:58:14 UTC
Created attachment 421559 [details]
Test project with instructions for recreating

User-Agent:       Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.25 SUSE/12.0.705.0 (KHTML, like Gecko) Chrome/12.0.705.0 Safari/534.25

I'm not sure I quite know how to explain this, but hopefully a project and a screenshot help.

Basically, if you fold a code comment, make a change after the comment that makes the code syntactically invalid, then click somewhere in the code after that edit then the text editor gets into a complete mess, rendering lines as if the folded code were expanded.

Reproducible: Always

Steps to Reproduce:
1. Download project
2. Follow instructions in the class file (three steps - collapse, edit, click)
Actual Results:  
Code rendering messes up, as shown in screenshot

Expected Results:  
Code rendering copes with the folding and broken code and nothing fails to render correctly.
Comment 1 IB Board 2011-03-26 20:58:45 UTC
Created attachment 421560 [details]
Screenshot of borked rendering after following steps
Comment 2 Michael Hutchinson 2011-03-26 22:12:37 UTC
Dup

*** This bug has been marked as a duplicate of bug 682466 ***