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 59499 - No indentation if cursor is between opening tag and some text
Summary: No indentation if cursor is between opening tag and some text
Status: RESOLVED WONTFIX
Alias: None
Product: xml
Classification: Unclassified
Component: Code (show other bugs)
Version: 5.x
Hardware: PC Windows XP
: P4 blocker (vote)
Assignee: Tomasz Slota
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-01 14:06 UTC by Jiri Kovalsky
Modified: 2009-12-21 04:53 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 Jiri Kovalsky 2005-06-01 14:06:35 UTC
Development build #200505311800 of NetBeans 4.2
Windows XP, JDK 1.5.0_03 build #06

Description:
============
Auto-indenting does not work when cursor is between opening tag and some text
and Enter is pressed.

Steps to reproduce:
===================
1. Create new sample web application project and new XML underneath.
2. Type abcd after <root> at line 11 and press CTRL + Arrow Left.
3. Now you have <root>|abcd where | denotes cursor. Press Enter.
4. abcd is not indented and begins at 12:1.
Comment 1 Marek Fukala 2005-09-30 18:13:32 UTC
This has never worked even in HTML or JSPs. To be frank I consider this issue as
a minor issue -> downgrading to P4.
Comment 2 Marek Fukala 2006-01-03 18:02:05 UTC
A several weeks before the indentation has been changed so it doesn't indent
text after unknow tags. Please use for example following code to reproduce

<table>|text

</table>
Comment 3 Tomasz Slota 2006-01-12 10:09:03 UTC
fixed.

IDE: [1/12/06 11:06 AM] Committing "XMLFormatter.java" started
Checking in XMLFormatter.java;
/cvs/xml/text-edit/src/org/netbeans/modules/xml/text/indent/XMLFormatter.java,v
 <--  XMLFormatter.java
new revision: 1.24; previous revision: 1.23

IDE: [1/12/06 10:08 AM] Committing "HTMLFormatter.java" started
Checking in HTMLFormatter.java;
/cvs/html/editor/lib/src/org/netbeans/editor/ext/html/HTMLFormatter.java,v  <--
 HTMLFormatter.java
new revision: 1.21; previous revision: 1.20
Comment 4 Jiri Kovalsky 2006-02-20 09:43:52 UTC
I am sorry but this does not seem to be fixed in neither NetBeans 5.0 FCS build
nor NetBeans 5.5 preview build #200602170300. Reopening ... Besides, next time
please don't forget to set "Target Milestone" accordingly.
Comment 5 Quality Engineering 2009-12-21 04:53:22 UTC
This bug was reported against NetBeans IDE 6.0 or an older release, or against a non-maintained module. NetBeans team does not have enough resources to get to this issue, therefore we are closing the issue as a WONTFIX. If you are interested in providing a patch for this bug, please see our NetFIX guidelines for how to proceed. 

We apologize for any inconvenience.


Thank you.
The NetBeans Team