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

Bug 372405

Summary: Editing a folded comment's opening delimiter screws up the view
Product: [ECD] Orion Reporter: Mark Macdonald <mamacdon>
Component: EditorAssignee: Silenio Quarti <Silenio_Quarti>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: Silenio_Quarti
Version: 0.4   
Target Milestone: 5.0 M1   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Mark Macdonald CLA 2012-02-23 15:34:28 EST
Orion I20120223-1058

1. Open a JavaScript file that starts with a block comment (any Orion source file will do -- I used 'index.js').
2. Collapse the block comment by clicking the 'collapse' icon.
3. Delete the slash from the collapsed line. (This will break the /* token.)

At this point I expected the folded lines to expand, but they don't. They remain hidden although the 'expand' icon annotation disappears.

Things get even weirder if you continue to edit in this state: for example, pressing Ctrl+Z does not bring you back to Step 2 (the annotation is in the wrong state). There appears to be no way to expand the lines.