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.
In case a part of a wrongly formatted document is being reformatted the new formatting is absolute - it should take into account the bias of the previous line instead. Note that this issue affects the new line indentation as well. example 1: reformatting the following document: <tag> wrongly formatted text *selection* </tag> results in <tag> wrongly formatted text *selection* </tag> while in this case it should stay untouched. example 2: <tag> *selection* </tag> results in <tag> *selection* </tag> instead of <tag> *selection* </tag>
Fixed. Checking in TagBasedLexerFormatter.java; /cvs/xml/tageditorsupport/src/org/netbeans/modules/editor/structure/formatting/TagBasedLexerFormatter.java,v <-- TagBasedLexerFormatter.java new revision: 1.23; previous revision: 1.22