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.
Formatting fails to work correctly when an fx source file contains a string with code embedded in it. The result is a few blank lines, which do not prevent the compilation of the source file. Below is some JavaFX Script which causes this to occur: def num1 = 10; def num2 = 50; println("Sum of {num1} and {num2} is: {sum(num1, num2)}"); function sum(num1: Integer, num2: Integer) { return num1 + num2; }
*** This bug has been marked as a duplicate of bug 183894 ***
verified in netbeans-trunk-nightly-201005122200-javafx-full-windows.exe