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 178573 - Code formating breaks expressions in the square brackets
Summary: Code formating breaks expressions in the square brackets
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 03:20 UTC by Alexandr Scherbatiy
Modified: 2010-03-23 08:30 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 03:20:12 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.MDMatrix file
- Format the file

The result is:
------------------------------------------------------------------
public class MDMatrix extends AMDMatrix, ICMDMatrix {

    public   var elems: Number[];
                                       

    override  function getElem(n: Integer, m: Integer): Number {
        return elems       [dimM * n      

                    + m  ];
        }
    

    override  function setElem(n: Integer, m: Integer, value: Number) {
        elems  [dimM      

       * n       + m  ] 

           = value;
                     }
------------------------------------------------------------------
Comment 1 Anton Chechel 2010-03-22 15:14:18 UTC
works for me with current version
Comment 2 Alexandr Scherbatiy 2010-03-23 08:30:36 UTC
verified in NetBeans-JavaFX-Soma: #194