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 - Indentation cannot be disabled (at least for HTML files)
Summary: Indentation cannot be disabled (at least for HTML files)
Status: VERIFIED DUPLICATE of bug 124679
Alias: None
Product: editor
Classification: Unclassified
Component: Options (show other bugs)
Version: 6.x
Hardware: PC Solaris
: P3 blocker (vote)
Assignee: issues@editor
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-04 15:32 UTC by Petr Dvorak
Modified: 2008-04-14 13:10 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 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