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 187807

Summary: Inserting an XML tag set (opening/closing) needs to leave cursor in the middle of the tags.
Product: xml Reporter: esmithbss <esmithbss>
Component: CodeAssignee: _ alexpetrov <alexpetrov>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:

Description esmithbss 2010-06-18 19:11:03 UTC
Product Version = NetBeans IDE 6.9 (Build 201006101454)
Operating System = Windows XP version 5.1 running on x86
Java; VM; Vendor = 1.6.0_20
Runtime = Java HotSpot(TM) Client VM 16.3-b01
Comment 1 esmithbss 2010-06-18 19:12:44 UTC
When you create a new XML tag (or HTML tag) and NetBeans automatically adds the closing tag, the system needs to place the cursor between the opening and closing tags (where the user will be typing content).

More than 50% of the time, the user will need to add content so it makes sense to place the cursor where the content will be created.
Comment 2 _ alexpetrov 2010-06-23 14:59:37 UTC
This bug has been already fixed: see the bug http://netbeans.org/bugzilla/show_bug.cgi?id=186916.

*** This bug has been marked as a duplicate of bug 186916 ***