This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 128766

Summary: Pasted Text Not Correctly Indented
Product: editor Reporter: mbarnes <mbarnes>
Component: Formatting & IndentationAssignee: issues@editor <issues>
Status: RESOLVED DUPLICATE    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description mbarnes 2008-02-28 21:26:46 UTC
When pasting multiple lines of text, pasted lines are not indented.

All pasted lines should be indented:
  - the same as the first pasted line (if pasting into an empty line)?
  - the same as the existing line at/after which the paste was done?
Comment 1 mbarnes 2008-02-28 22:41:56 UTC
I should add, perhaps, that *only* inserted lines that don't already have indents should be auto-indented, lines that
have no leading white space.
Comment 2 Vitezslav Stejskal 2008-02-29 07:48:20 UTC
There have been numerous requests for this already. Thanks

*** This issue has been marked as a duplicate of 111536 ***