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 91699 - xml editor auto indent does not work with code-completion
Summary: xml editor auto indent does not work with code-completion
Status: NEW
Alias: None
Product: xml
Classification: Unclassified
Component: Text-Edit (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@xml
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-02 20:21 UTC by ssoong
Modified: 2007-09-25 01:33 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ssoong 2007-01-02 20:21:47 UTC
NetBeans IDE Dev (Build 200701011900)
1.5.0_05; Java HotSpot(TM) Client VM 1.5.0_05-b05
Windows XP version 5.1 running on x86
=================================================

In a xml document,

<root>
<method name='z'>
x = 1;
[^place cursor here]
</root>

if I keyed in manually to close the method tag, auto-indent occurs:

<root>
    <method name='z'>
        x = 1;
    </method>
</root>

But if I depended on selecting from code-completion prompt to close the method 
tag, auto-indent would not occur.

Though I categorise this issue as a feature, I tend to think it's a defect. 
The defect being, auto-indent does not work equivalently but descriminates 
against use of code-completion from benefitting from auto-indent.
Comment 1 Marek Fukala 2007-02-16 14:49:46 UTC
Reassigning to default owner of selected subcomponent. New owners are gladly
welcomed.
Comment 2 Marek Fukala 2007-02-16 14:51:31 UTC
Reassigning to default owner of selected subcomponent. New owners are gladly
welcomed.