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 178858 - curly brackets indentation in a embedded CSS
Summary: curly brackets indentation in a embedded CSS
Status: RESOLVED DUPLICATE of bug 186682
Alias: None
Product: web
Classification: Unclassified
Component: CSS Visual Tools (show other bugs)
Version: 6.x
Hardware: PC Mac OS X
: P3 normal with 1 vote (vote)
Assignee: David Konecny
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-18 08:12 UTC by Martin Schovanek
Modified: 2010-11-08 00:58 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 Martin Schovanek 2009-12-18 08:12:17 UTC
[Nb 6.8 FCS, jdk 1.6]

to reproduce:
-------------
1) have a .html like:
<html>
    <style>
        h1 {|}
    </style>
</html>
2) press Enter
ERROR: the curly bracket is indented to the 1st column like:
<html>
    <style>
        h1 {
            
}
    </style>
</html>

WORKAROUND: Reformat action will fix it.
Comment 1 David Konecny 2010-11-08 00:58:42 UTC

*** This bug has been marked as a duplicate of bug 186682 ***