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 189380 - Formatting does not properly work for 'insert a before s.seq[i];' statement
Summary: Formatting does not properly work for 'insert a before s.seq[i];' statement
Status: RESOLVED FIXED
Alias: None
Product: javafx
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P2 normal (vote)
Assignee: Anton Chechel
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-11 08:50 UTC by Alexandr Scherbatiy
Modified: 2010-08-13 14:41 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-08-11 08:50:13 UTC
NetBeans 6.9.1 

Steps to reproduce:

- Format the code:
------------------------------------------------
var a = 3;
var s = S{ seq: [1, 2, 3] }
var i = 2;

insert a before s.seq[i];

class S{
    public var seq:Integer[];
}
------------------------------------------------

The result is:
------------------------------------------------
var a = 3;
var s = S { seq: [1, 2, 3] }
var i = 2;

insert a before s
  

    
.seq[i];

class S{
    public var seq:Integer[];
}
------------------------------------------------
Comment 1 Anton Chechel 2010-08-13 14:41:21 UTC
fixed
http://hg.netbeans.org/javafx/rev/33f2f2a0e40d