Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 186514 - 'Smart paste' doesn't work
Summary: 'Smart paste' doesn't work
Status: RESOLVED FIXED
Alias: None
Product: DLTK
Classification: Technology
Component: Ruby (show other bugs)
Version: 0.95   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Mikhail Kalugin CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 197463
  Show dependency tree
 
Reported: 2007-05-11 04:00 EDT by Mikhail Kalugin CLA
Modified: 2008-05-26 02:49 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 Mikhail Kalugin CLA 2007-05-11 04:00:12 EDT
When copy/pasting code in the ruby editor, indentation strategy often damages indentation of pasted code block instead of correct auto-indentation of it.
Comment 1 Robert Ehteshamzadeh CLA 2007-05-11 17:49:36 EDT
Agreed. Behavior is inconsitent with JDT behavior. 

Test case: 

def test1
end
|

select to the start of the line following the last line of text. copy. 
paste repeatedly. 

The lines become more and more misaligned from the indentation.
Comment 2 Mikhail Kalugin CLA 2007-06-01 05:59:23 EDT
Fixed.
Comment 3 Andrey Platov CLA 2008-05-26 02:49:59 EDT
bulk change: fixed in 0.95