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.

Bug 158668

Summary: 'for' statement is not properly formated
Product: javafx Reporter: Alexandr Scherbatiy <sunflower>
Component: EditorAssignee: Anton Chechel <manowar>
Status: VERIFIED FIXED    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 155841    

Description Alexandr Scherbatiy 2009-02-17 13:00:11 UTC
JavaFX Script Plugin 1.1

  Product Version         = NetBeans IDE 6.5 (Build 200901261116)
  Operating System        = Windows XP version 5.1 running on x86
  Java; VM; Vendor        = 1.6.0_12-ea; Java HotSpot(TM) Client VM 11.2-b01; Sun Microsystems Inc.

Steps to reproduce:

- Format the code 
------------------------------------------------
import javafx.scene.Group;
import javafx.scene.shape.Circle;


Group{
    content: [
        Circle {
        }
for (i in [3, 6, 9, 12])
            Circle {
            }
    ]
}
------------------------------------------------
The 'for' statement is not formatted
Comment 1 Rastislav Komara 2009-03-02 10:14:39 UTC
reassigning to new owner.
Comment 2 Anton Chechel 2009-03-19 18:27:07 UTC
fixed, old reformat has been disabled
Comment 3 Alexandr Scherbatiy 2009-04-20 10:57:25 UTC
verified