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 181836

Summary: Code formatting shifts function arguments to the right
Product: javafx Reporter: Alexandr Scherbatiy <sunflower>
Component: EditorAssignee: Anton Chechel <manowar>
Status: VERIFIED FIXED    
Severity: normal    
Priority: P2    
Version: 6.x   
Hardware: PC   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 173487    

Description Alexandr Scherbatiy 2010-03-11 05:32:42 UTC
NetBeans-JavaFX-Soma:  #181

  Product Version         = NetBeans IDE Dev (Build 201003081350)
(#c9c80d9862fe)
  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:
- Copy the code to the editor
---------------------------------------
package javafxapplication11;

function run(args :String[]) {
    println(sizeof args);
}
---------------------------------------

- Format the code some times

The result is:

---------------------------------------
function run(              args :String[]) {
    println(sizeof args);
}
---------------------------------------
Comment 1 Anton Chechel 2010-03-12 12:26:29 UTC
fixed
http://hg.netbeans.org/javafx/rev/43417d251034
Comment 2 Alexandr Scherbatiy 2010-03-15 11:25:29 UTC
verified in  NetBeans-JavaFX-Soma: #185