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 183872 - Code formatting breaks line for the 'else' part of 'for' statement
Summary: Code formatting breaks line for the 'else' part of 'for' statement
Status: VERIFIED FIXED
Alias: None
Product: javafx
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P3 normal (vote)
Assignee: Anton Chechel
URL:
Keywords:
Depends on:
Blocks: 173487
  Show dependency tree
 
Reported: 2010-04-12 09:03 UTC by Alexandr Scherbatiy
Modified: 2010-05-12 12:25 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexandr Scherbatiy 2010-04-12 09:03:16 UTC
NetBeans-JavaFX-Soma:  #217

  Product Version         = NetBeans IDE Dev (Build 201004110201)
(#ca66f5e3f93f)
  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.*;

class MyButton extends CustomNode {

    public var action: function();
    public var shape1: Node;
    public var shape2: Node;

    public override function create(): Node {
        Group {
            content: bind if (hover) shape1 else shape2
        }
    }

}
---------------------------------------

The result is:
---------------------------------------
        Group {
            content: bind if (hover) shape1
            else shape2
        }
---------------------------------------
Comment 1 Anton Chechel 2010-04-23 13:08:08 UTC
fixed
http://hg.netbeans.org/javafx/rev/7d1f41c3e0dd
Comment 2 Alexandr Scherbatiy 2010-05-12 12:25:53 UTC
verified in netbeans-trunk-nightly-201005112200-javafx-full-windows.exe