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 - Code formatting shifts function arguments to the right
Summary: Code formatting shifts function arguments to the right
Status: VERIFIED 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: 173487
  Show dependency tree
 
Reported: 2010-03-11 05:32 UTC by Alexandr Scherbatiy
Modified: 2010-03-15 11:25 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-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