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 178577 - Code formatting adds some lines between class and attributes declaration
Summary: Code formatting adds some lines between class and attributes declaration
Status: VERIFIED WORKSFORME
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: 2009-12-14 04:24 UTC by Alexandr Scherbatiy
Modified: 2010-03-23 08:42 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 2009-12-14 04:24:15 UTC
NetBeans-JavaFX-Soma: #65

  Product Version         = NetBeans IDE 6.8 RC1 (Build 200911252200)
(#3c4d4f8d3d55)
  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:

- Open the attached project in the IDE
https://netbeans.org/bugzilla/attachment.cgi?id=92506

- Open the physics.relativity.RelativitySpace file
- Format the file 

The result is:
------------------------------------------------------------------
public function getT(t: Number, x: Number, v: Number): Number {
    (t + v * x) / getBeta(v);
}

public class RelativitySpace extends CustomNode {

    

    

    

    

    

    

    public var observers: Observer[];
    public var selectedObserver: Integer;

    override protected function create(): Node {
        Group {
            scaleY: -1
            content: for (observer in observers) observer
        }
    }

}
------------------------------------------------------------------
Comment 1 Anton Chechel 2010-03-22 15:43:15 UTC
Works for me in current version.
Comment 2 Alexandr Scherbatiy 2010-03-23 08:42:44 UTC
verified in NetBeans-JavaFX-Soma: #194