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 178576

Summary: Code formatting breaks line for the attribute default value
Product: javafx Reporter: Alexandr Scherbatiy <sunflower>
Component: EditorAssignee: Anton Chechel <manowar>
Status: VERIFIED WORKSFORME    
Severity: normal    
Priority: P3    
Version: 6.x   
Hardware: PC   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 173487    

Description Alexandr Scherbatiy 2009-12-14 04:14:41 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 mathematics.multidimensional.MDVector file
- Format the file 

The result is:
------------------------------------------------------------------
public class MDVector extends AMDVector, ICMDVector {

    public   var dim: Integer;
                    

    public   var elems: Number[];           

    public   var metric: IMDSquareTransform             

           = MDIdentity  {dim: dim      };
    

    override  function getDim(   )  { dim           };

    override  function getElem(n: Integer  ): Number { elems   [n  ]      }
------------------------------------------------------------------
Comment 1 Anton Chechel 2010-03-22 15:26:33 UTC
Works for me in current version.
Comment 2 Alexandr Scherbatiy 2010-03-23 08:34:30 UTC
verified in NetBeans-JavaFX-Soma: #194