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 118616

Summary: Smart enter doesn't work in HTML and JSP editors
Product: javaee Reporter: Tomasz Slota <tslota>
Component: JSPAssignee: Tomasz Slota <tslota>
Status: VERIFIED FIXED    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Bug Depends on: 118659    
Bug Blocks: 118615    

Description Tomasz Slota 2007-10-11 21:21:42 UTC
When enter is pressed in the following cursors position:

<tag>|</tag>

It should produce the following result:

<tag>
      |
</tag>

However now it resolves to 

<tag>
|</tag>
Comment 1 Tomasz Slota 2007-10-12 20:45:19 UTC
*** Issue 110729 has been marked as a duplicate of this issue. ***
Comment 2 Tomasz Slota 2007-10-22 17:13:26 UTC
fixed.

/cvs/xml/tageditorsupport/src/org/netbeans/modules/editor/structure/formatting/TagBasedLexerFormatter.java,v  <--  TagBasedLexerFormatter.java
new revision: 1.27; previous revision: 1.26
Comment 3 Jindrich Sedek 2007-11-20 18:13:48 UTC
verified.
NetBeans IDE 6.0 RC2 (Build 200711201000)