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 - code generated by style builder is generated into comment
Summary: code generated by style builder is generated into comment
Status: VERIFIED FIXED
Alias: None
Product: web
Classification: Unclassified
Component: CSS Visual Tools (show other bugs)
Version: 6.x
Hardware: Sun All
: P3 blocker (vote)
Assignee: Marek Fukala
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-11 10:03 UTC by Jindrich Sedek
Modified: 2008-04-28 13:37 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 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)