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.
marina-netbeans-plugin ยป #228 Product Version = NetBeans IDE 6.7.1 (Build 200907202301) 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: - type in the editor: ----------------------------------- for(i in [0..3]){ } ----------------------------------- - Position the cursor at the end of the 'for(i in [0..3]){' line and press Enter There are 2 tabs before the cursor position instead of one: ----------------------------------- for(i in [0..3]){ println(""); // 2 tabs indentation } ----------------------------------- Should be: ----------------------------------- for(i in [0..3]){ println(""); // 1 tab indentation } ----------------------------------- The situation even worse when using palette elements: ----------------------------------- Stage { title : "MyApp" scene: Scene { width: 200 height: 200 content: [ HBox { content: [ Circle { centerX: 100, centerY: 100 radius: 40 fill: Color.BLACK } ] } ] } } -----------------------------------
fixed in formatter AFAIK
The issue is still reproduced in build NetBeans-JavaFX-Soma: #182 Mar 12, 2010 12:01:00 AM Steps to reproduce: - type in the editor: ----------------------------------- for(i in [0..3]){ } ----------------------------------- - Position the cursor at the end of the 'for(i in [0..3]){' line and press Enter There are 2 tabs before the cursor position instead of one: ----------------------------------- for(i in [0..3]){ println(""); // 2 tabs indentation } -----------------------------------
fixed http://hg.netbeans.org/javafx/rev/25d1f34501fc
verified in NetBeans-JavaFX-Soma: #189