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 106251

Summary: code generated by style builder is generated into comment
Product: web Reporter: Jindrich Sedek <jsedek>
Component: CSS Visual ToolsAssignee: Marek Fukala <mfukala>
Status: VERIFIED FIXED    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: Sun   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Jindrich Sedek 2007-06-11 10:03:17 UTC
Create new WebApplication
Create new CSS file
insert this code into new CSS:
--------------
h1{font-size: 10px;}/* THIS IS COMMENT */
-------------
set cursor possition into selector area
use style builder to set font-family
result:
--------------
h1{font-size: 10px;
}/* THIS IS COMMENT *font-family: cursive;/
--------------
font-family is inserted into comment instead of a rule area
Comment 1 Marek Fukala 2007-06-19 12:44:10 UTC
needs to be fixed in 6.0
Comment 2 Marek Fukala 2007-11-03 19:11:05 UTC
fixed

Checking in CssEditorSupport.java;
/cvs/web/css/src/org/netbeans/modules/css/editor/CssEditorSupport.java,v  <--  CssEditorSupport.java
new revision: 1.13; previous revision: 1.12
done
Comment 3 Jindrich Sedek 2007-11-08 15:12:16 UTC
verified.
NetBeans IDE 6.0 RC1 (Build 200711080000)