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 129157

Summary: Indentation cannot be disabled (at least for HTML files)
Product: editor Reporter: Petr Dvorak <joshis>
Component: OptionsAssignee: issues@editor <issues>
Status: VERIFIED DUPLICATE    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: PC   
OS: Solaris   
Issue Type: DEFECT Exception Reporter:

Description Petr Dvorak 2008-03-04 15:32:57 UTC
Product Version: NetBeans IDE Dev (Build 200803021202)
Java: 1.5.0_13; Java HotSpot(TM) Client VM 1.5.0_13-b05
System: SunOS version 5.10 running on x86; UTF-8; cs_CZ (nb)

Open a HTML file. Go to Tools > Options > Advanced options > Editing > Editor Settings > HTML Editor and change the
indentation engine to "No indentation" in the Properties. The action does not have any effect in the editor, in spite
the fact it should disable the text indentation.

If you have for example (| is a caret):

<body>|
</body>

and you press Enter, you get (# is a whitechar):

<body>
##|
</body>

As the indentation is set to "No indentation", the result should be:

<body>
|
</body>
Comment 1 Jiri Prox 2008-03-04 15:46:59 UTC
We should finally remove indentation engines

*** This issue has been marked as a duplicate of 124679 ***
Comment 2 Petr Dvorak 2008-04-14 13:10:23 UTC
Verified: 20080411