Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 294025 - [projection] Collapsed code cannot be cut
Summary: [projection] Collapsed code cannot be cut
Status: CLOSED DUPLICATE of bug 128365
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.5   Edit
Hardware: PC Windows XP
: P3 minor (vote)
Target Milestone: ---   Edit
Assignee: JDT-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-03 03:09 EST by Lysathor CLA
Modified: 2009-11-03 03:28 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lysathor CLA 2009-11-03 03:09:33 EST
Example:

public class A 
{
  private static class B 
  {
  }
}

Collapse class B (so that it only is one line of code). Then select this line of code and cut that selection (e.g. Ctrl-X). 
The source is not cut, but source of class B is expanded again.
But some actions work, e.g. Del deletes class B.

Workaround: 
Select class in Package view. Then select "cut".




-- Configuration Details --
Product: Eclipse 1.2.1.20090812-1036 (org.eclipse.epp.package.java.product)
Installed Features:
 org.eclipse.jdt 3.5.1.r351_v20090810-0600-7r88FEoFI0WTo6Az-1qFRHm37ChJ
Comment 1 Dani Megert CLA 2009-11-03 03:28:12 EST

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