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.
Product Version = NetBeans IDE Dev (Build 200911091156) (#fa9887b26708) 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: - Copy the code to the editor: ---------------------------------------------------- import javafx.stage.Stage; import javafx.scene.Scene; import javafx.scene.text.Text; import javafx.scene.input.MouseEvent; Stage { title : "Application title" scene : Scene { width : 250 height : 80 content : Text { x : 10 y : 30 content : "Application content" onMouseClicked : function( e: MouseEvent ):Void { println((e.node as Text).content); } } } } ---------------------------------------------------- - Format the code The result is ---------------------------------------------------- import javafx.stage.Stage; import javafx.scene.Scene; import javafx.scene.text.Text; import javafx.scene.input.MouseEvent; Stage { title : "Application title" scene : Scene { width : 250 height : 80 content : Text { x : 10 y : 30 content : "Application content" onMouseClicked : function( e: MouseEvent ):Void { println((e.node as Text).content); } } } } ----------------------------------------------------
fixed http://hg.netbeans.org/javafx/rev/c1dfc2f8c04f
verified in Build 200911190201