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 - indentation is wrong while writing html code
Summary: indentation is wrong while writing html code
Status: VERIFIED FIXED
Alias: None
Product: web
Classification: Unclassified
Component: HTML Editor (show other bugs)
Version: 6.x
Hardware: Sun All
: P3 blocker (vote)
Assignee: Tomasz Slota
URL:
Keywords:
Depends on:
Blocks: 118615
  Show dependency tree
 
Reported: 2007-10-17 17:41 UTC by Jindrich Sedek
Modified: 2009-05-18 10:47 UTC (History)
1 user (show)

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 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)