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 149110 - Indents wrong for actions
Summary: Indents wrong for actions
Status: VERIFIED DUPLICATE of bug 148094
Alias: None
Product: javafx
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 6.x
Hardware: All Windows Vista
: P3 blocker (vote)
Assignee: Rastislav Komara
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-03 18:59 UTC by Lark Fitzgerald
Modified: 2008-12-19 14:18 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 Lark Fitzgerald 2008-10-03 18:59:18 UTC
Tested using FX Cont trunk build 298 with SDK:
Product: javafx-1.0dev Platform: windows-i586 Build-Number: 555 Build-ID: 2008-10-03_03-06-44 on NB6.5: 
Product Version: NetBeans IDE Dev (Build 20080930121929)
Java: 1.6.0_10-rc; Java HotSpot(TM) Client VM 11.0-b14
System: Windows Vista version 6.0 running on x86; Cp1252; en_US (nb)

1. empty .fx file
2. paste following source:

import javafx.scene.shape.Circle;
import javafx.scene.paint.Color;

var a = Circle {
    centerX: 100, centerY: 100
    radius: 40
    fill: Color.BLACK
    
}

3. drag palette > actions > onMouseClicked to the blank (indented) line after fill: Color.BLACK
This gives you:

    onMouseClicked: function( e: MouseEvent ):Void {

    }

There is no indent on the line between { }.  This is true for all actions.
Comment 1 Michal Skvor 2008-11-03 16:40:16 UTC
The same indentation issue. Reassigning to Rasta.
Comment 2 Rastislav Komara 2008-11-05 14:35:50 UTC
moving to future
Comment 3 Rastislav Komara 2008-12-08 13:28:56 UTC

*** This issue has been marked as a duplicate of 148094 ***
Comment 4 Alexandr Scherbatiy 2008-12-19 14:18:32 UTC
it is a duplicate