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 200911180645) (#99dcd4880fda) 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 ----------------------------------------------- import javafx.scene.text.Text; Text { content: 'Sequence level1 = new Sequence();\n' 'Text text0 = new Text();\n' 'text0.text = "Wird erreicht durch "\n' 'Sequence level2 = new Sequence();\n' 'Text text1 = new Text();\n' 'text1.text="neue Constructor-Syntax \n' 'level2.add (text1);\n' 'Text text2 = new Text();\n' 'text2.text="Sequenzen,";\n' 'level2.add (text2);\n' 'Text text3 = new Text();\n' 'text3.text="und funktionale Sprachelemente.";\n' 'level2.add (text3);\n' 'text0.items = level1;\n' 'Outline outline = new Outline();\n' 'outline.items = level1;\n' 'Html html = new Html();\n' 'Sequence childs = new Sequence();\n' 'childs.add (html);\n' 'html.childs = childs\n'; } ----------------------------------------------- The result is: ----------------------------------------------- Text { content: 'Sequence level1 = new Sequence();\n' 'Text text0 = new Text();\n' 'text0.text = "Wird erreicht durch "\n' 'Sequence level2 = new Sequence();\n' 'Text text1 = new Text();\n' 'text1.text="neue Constructor-Syntax \n' 'level2.add (text1);\n' 'Text text2 = new Text();\n' 'text2.text="Sequenzen,";\n' 'level2.add (text2);\n' 'Text text3 = new Text();\n' 'text3.text="und funktionale Sprachelemente.";\n' 'level2.add (text3);\n' 'text0.items = level1;\n' 'Outline outline = new Outline();\n' 'outline.items = level1;\n' 'Html html = new Html();\n' 'Sequence childs = new Sequence();\n' 'childs.add (html);\n' 'html.childs = childs\n'; } -----------------------------------------------
fixed http://hg.netbeans.org/javafx/rev/fa0b83951c10
The issue is reproduced in NetBeans-JavaFX-Soma: #62
fixed http://hg.netbeans.org/javafx/rev/f25af541c4ab
verified in NetBeans-dev-javafx-main-123-on-091217-full.zip
another related changeset: http://hg.netbeans.org/javafx/rev/4abe741fd253
Fixed in release68_fixes http://hg.netbeans.org/javafx/rev/b5f9a0f1a9e6 http://hg.netbeans.org/javafx/rev/d37b785f9dcf http://hg.netbeans.org/javafx/rev/b3cc30945d74
Fixed in release68_fixes http://hg.netbeans.org/javafx/rev/d37b785f9dcf
Verified in NB 6.8 patch1 2010-01-25_21-27-59