Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 128365 - [projection] Code folding: cut and paste unfolds following folded block
Summary: [projection] Code folding: cut and paste unfolds following folded block
Status: CLOSED DUPLICATE of bug 178203
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 3.2   Edit
Hardware: PC All
: P3 minor (vote)
Target Milestone: ---   Edit
Assignee: Platform-Text-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 294025 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-02-17 03:44 EST by Daniel Gattermann CLA
Modified: 2010-02-23 10:52 EST (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Gattermann CLA 2006-02-17 03:44:47 EST
Given the following "code" with the "Folded comment" block folded:

// a
// b
//
//
/*
 * Folded comment
 */

Marking the two lines of the "a" and "b" comments and cutting them unfolds the formerly folded "Folded comment".
It doesn't matter wether the blank comments are there or not and it also happens with folded code, not only comments.

Additionally cutting a folded block doesn't cut the contained text but unfolds the block.
Cut and paste with code folding enabled needs to be fixed.

Tested with builds I20051215-1506 (3.2M4, platform + JDT) and M20060118-1600 (3.1.2, SDK).
Comment 1 Dani Megert CLA 2009-11-03 03:28:12 EST
*** Bug 294025 has been marked as a duplicate of this bug. ***
Comment 2 Dani Megert CLA 2010-02-23 10:52:44 EST

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