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 135217 - XML Autoformat adds/removes linebreaks
Summary: XML Autoformat adds/removes linebreaks
Status: RESOLVED DUPLICATE of bug 135478
Alias: None
Product: xml
Classification: Unclassified
Component: Text-Edit (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: Samaresh Panda
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-16 14:11 UTC by bbrn
Modified: 2008-05-30 20:48 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description bbrn 2008-05-16 14:11:00 UTC
Since NB 6.1, the Autoformatter for XML files inserts linefeeds before the closing tag of an element definition. 
It also removes any empty lines between elements. 
This destroys the structure of XML files, which are manually maintained. 

The behavior of of the formatter should be either configurable or changed back to 6.0 handling.
Comment 1 Samaresh Panda 2008-05-30 20:48:04 UTC

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