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

Bug 511664

Summary: Copy/paste of entire line indents the next line
Product: z_Archived Reporter: Chris Barlock <barlock>
Component: DLTKAssignee: Project Inbox <dltk.sh-inbox>
Status: RESOLVED FIXED QA Contact: Alexander Kurtakov <akurtakov>
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
See Also: https://git.eclipse.org/r/97951
https://git.eclipse.org/c/dltk/org.eclipse.dltk.sh.git/commit/?id=0fb4f7743645692ead1221a5f8f8853d13d745f9
Whiteboard:

Description Chris Barlock CLA 2017-02-03 12:21:05 EST
If I have a construct like this:

for x in ${Y} ; do
	a=1
	b=2
	c=3
done

and I select the entire "a=1" line, copy it and paste it after "b=2", I get:

for x in ${Y} ; do
	a=1
	b=2
	a=1
		c=3
done

The line "c=3" should not be indented as a result of this paste.
Comment 1 Eclipse Genie CLA 2017-05-25 06:26:04 EDT
New Gerrit change created: https://git.eclipse.org/r/97951