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.
NetBeans-JavaFX-Soma: #141 Product Version = NetBeans IDE Dev (Build 201001280200) (#eeef33500a1a) Operating System = Windows XP version 5.1 running on x86 Java; VM; Vendor = 1.6.0_15; Java HotSpot(TM) Client VM 14.1-b02; Sun Microsystems Inc. Steps to reproduce: - Format the code: ------------------------------------------- public class ClassModel { public var pack:String; public var name:String; public var attributes:String[]; public var functions:String[]; function code() { "{pack}\n\n" "public class {name}\{\n\n" "{for(a in attributes) " {a}\n" }" "\n" "{for(f in functions) " {f}\n" }" "\n\}" } } ------------------------------------------- - The result is: ------------------------------------------- public class ClassModel { // ... function code() { "{pack}\n\n""public class {name}\{\n\n""{for (a in attributes) " {a}\n"}" "\n" "{for (f in functions) " {f}\n"}" "\n\}" } } -------------------------------------------
Compiler issue: http://javafx-jira.kenai.com/browse/JFXC-4061
fixed http://hg.netbeans.org/javafx/rev/af9c8a9a6863 http://hg.netbeans.org/javafx/rev/5493324111c3 http://hg.netbeans.org/javafx/rev/5354846be850 http://hg.netbeans.org/javafx/rev/ea671efb7f1f
verified in NetBeans-JavaFX-Soma: #200