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.
Summary: | Bizarre indenting when inserting line breaks in mixed content | ||
---|---|---|---|
Product: | xml | Reporter: | Jesse Glick <jglick> |
Component: | Text-Edit | Assignee: | Svata Dedic <sdedic> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | mmetelka, sdedic |
Priority: | P3 | ||
Version: | 7.3 | ||
Hardware: | PC | ||
OS: | Linux | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
Jesse Glick
2012-08-16 19:40:34 UTC
Integrated into 'main-golden', will be available in build *201209040001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/a7fb6ba6d8d6 User: Svata Dedic <sdedic@netbeans.org> Log: #217342, #216986: Formatter refactored, testcases added. Now does not copy from document, works with charsequences. Still some lesser bugs here: 1. If there are any tags after the newline insertion point, the new line is not indented at all. Tags prior to the insertion point are fine. 2. The reindent action does nothing on a line containing inline tags. 3. The originally reported bug still exists in some cases, e.g. <para> One sentence. Also <ulink url="..."><classname>Stuff</classname></ulink> here. </para> => <para> One sentence. Also <ulink url="..."> <classname>Stuff</classname> </ulink> here. </para> Changeset: 5f6f2f70baeb Author: Svata Dedic <sdedic@netbeans.org> Date: 2012-09-07 15:25 Message: Issue #216986 - Bizarre indenting when inserting line breaks in mixed content: fixed Text content is indented iff at least partially in the formatted area. The mixed content is still formatted into several separate lines after newline; the formatter lacks information that only 1 line should be indented - it is called to indent a range of characters. Integrated into 'main-golden', will be available in build *201209080001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/5f6f2f70baeb User: Svata Dedic <sdedic@netbeans.org> Log: Issue #216986 - Bizarre indenting when inserting line breaks in mixed content: fixed Text content is indented iff at least partially in the formatted area. Sorry, forgot to mark this one as fixed. Thanks, have not noticed any serious issues with mixed content in 20121011-25754d256dcf. |