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 136503

Summary: palette: CustomNode parenthesis not all indented properly
Product: javafx Reporter: Lark Fitzgerald <lfitzgerald>
Component: EditorAssignee: Michal Skvor <misk>
Status: VERIFIED WORKSFORME    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:
Bug Depends on: 132764    
Bug Blocks:    

Description Lark Fitzgerald 2008-06-04 21:25:13 UTC
Product Version: NetBeans IDE 6.1 (Build 200804211638)
Java: 1.6.0_10-beta; Java HotSpot(TM) Client VM 11.0-b11
System: Windows Vista version 6.0 running on x86; Cp1252; en_US (nb)
fx NB61 cb plugin: 243

1. open editor
2. go to palette > Applications > CustomNode and drag/drop onto editor.  Get:
public class MyCustomNode extends CustomNode {
    
    public function create(): Node {
        return Group {
            content: []
        };
}
}
3. The second the last } should be indented.
Comment 1 Lark Fitzgerald 2008-06-19 15:35:09 UTC
still reproducible.  Not AST related.
Comment 2 Rastislav Komara 2008-06-27 14:14:25 UTC
This looks OK for me.
Comment 3 Alexandr Scherbatiy 2008-07-07 11:29:18 UTC
verified