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 119255

Summary: indentation is wrong while writing html code
Product: web Reporter: Jindrich Sedek <jsedek>
Component: HTML EditorAssignee: Tomasz Slota <tslota>
Status: VERIFIED FIXED    
Severity: blocker CC: pjiricka
Priority: P3    
Version: 6.x   
Hardware: Sun   
OS: All   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 118615    

Description Jindrich Sedek 2007-10-17 17:41:26 UTC
Create new HTML page
remove all the content and start typing:
<html>
<head>
<title>
....

no indentation is done... I would expect:
<html>
   <head>
      <title> 
        .....

new line should be indented one tab right
Comment 1 Tomasz Slota 2007-10-17 20:59:08 UTC
Currently indentation is increased only if preceding tag is closed somewhere in the document. I am working on it together with new "smart enter" issue.
Comment 2 Tomasz Slota 2007-10-24 08:59:32 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-14 11:05:14 UTC
verified.
NetBeans IDE 6.0 RC1 (Build 200711130000)