Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 204258 - Copy Lines and Correct Indentation screw up indentation
Summary: Copy Lines and Correct Indentation screw up indentation
Status: RESOLVED DUPLICATE of bug 75573
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 3.4   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: JDT-Text-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-21 07:00 EDT by Markus Keller CLA
Modified: 2007-09-21 08:20 EDT (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 Markus Keller CLA 2007-09-21 07:00:13 EDT
I20070920-0936

- have:
public class Try {
	public void testManyInsertsIntoDoc3() throws Exception {
		Document props= new Document(
				"key_a=value\n" +
				"\n" +
				"key_b_2=value\n");
	}
}

- select the entire method and do Copy Lines (Ctrl+Alt+Down) or Correct Indentation (Ctrl+I)

=> line '				"key_b_2=value\n");' loses 2 tabs
Comment 1 Dani Megert CLA 2007-09-21 08:20:37 EDT

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